Appcelerator Studio will not install Android SDKs - android

I am using Appcelerator Studio on Mac OS X
Appcelerator Studio, build: 4.4.0.201511241829
Build: jenkins-appcelerator-rcp-master-339 (origin/master)
Date: 24 November 2015, 18:30:16
Titanium SDK version 5.1.2.G
I have been trying to install the Android SDK's without success. I am using the Install from the software under Preferences -> Platforms -> Android
If I browse to the directory with the SDKs I get the error message:
[Android SDK Home] No Android SD...nder the specified SDK location
All the Android SDKs have been loaded by Android Studio so I know they are there.
If I try to install the SDKS through Studio it goes through the motions, downloads and unpacks the files etc and then gives me a completed screen but no sdks is actually saved.
I have tried uninstalling and reinstalling Studio without success
any help is appreciated

Just give path of your android-sdk main directory only. If you are doing correctly then check in that folder having all required folders or not. I attached screenshot for what folders should be there.
If any of folder missing in mentioned image, it means, your SDK not properly installed. And you need to install it again. you can download SDK from here: http://developer.android.com/sdk/index.html#Other
Follow the instruction given in above link and again set path as you were doing before. And install all required SDK using install SDK given in Preferences -> Platforms -> Android.

Related

How do I configure Android SDKs for Android Studio 3.2.1?

I downloaded the latest version (3.2.1) of Android Studio from the Android Developers site.
After installing the application, it won't start. I get an error message when clicking on "Start a new Android Studio project":
Your Android SDK is missing, out of date or corrupted.
I read an outdated post dealing with the same issue but an older version of the application. I followed the solution described there and got stuck after navigating to Configure > Project Defaults > Project Structure. This is the window I see right now:
I can't find the SDK. Where is it located? Does it not get installed together with the app? If so, where can I download it from?
I can't find the SDK. Where is it located? Does it not get installed
together with the app? If so, where can I download it from?
That depends on how you installed the Android Studio. With the SDK packages (called bundle) or you have installed it separately which doesn't have SDK packages.
Where is it located
It's mostly uses:
C:\Users\<username>\AppData\Local\Android\Sdk
Directory on windows if you install SDK Manager, it will be easy to figured out.
where can I download it from
After installing Android SDK Manager, you'll need to download some packages like;
Platform-tools
Build-tools
Support library
And etc
To be able to compile-use Android Studio which is a general question and use Google for that.

Visual Studio 2017 Tools -> Android disabled

When I try to run a new blank Android app I get an error:
"The Android SDK Directory could not be found...".
I searched in google for a solution and I found out that I need to go to Tools -> Android -> Android SDK Manager, and then I realized the buttons are disabled.
I did some checks:
in Tools -> Options -> Android Setting for Android SDK Location and it's empty. Furthermore, the folder Programs Files(x86)\Android\android-sdk contain only 1 folder named extras
I did a VS repair, twice, and nothing changed.
As I understand the problem, I don't have SDK and somehow VS can't install it properly.
Is there any manual way to install it or any other solution?
Edit: I've tried to uninstall Visual Studio and install again. It couldn't install everything successfully, here is the log:
Package 'JavaJDKV2,version=1.8.6,chip=x64' failed to install.
Search URL
https://aka.ms/VSSetupErrorReports?q=PackageId=JavaJDKV2;PackageAction=Install;ReturnCode=-1
Details
Command executed: "C:\ProgramData\Microsoft\VisualStudio\Packages\JavaJDKV2,version=1.8.6,chip=x64\jdk-8u181-windows-x64.exe" /quiet
Return code: -1
Return code details: Unknown error (0xffffffff)
Log
C:\Users******\AppData\Local\Temp\dd_setup_20180828172213_290_JavaJDKV2.log
Impacted workloads
Mobile development with .NET (Microsoft.VisualStudio.Workload.NetCrossPlat,version=15.8.27906.1)
Impacted components
Android SDK setup (API level 27) (Component.Android.SDK27,version=15.8.27906.1)
Google Android Emulator (API Level 27) (Component.Google.Android.Emulator.API27,version=15.8.27906.1)
Java SE Development Kit (8.0.1120.15) (Component.JavaJDK,version=15.6.27406.0)
I fixed it and here is what worked for me:
I downloaded the Android Command line tools
I put the downloaded folder in C:\Program Files (x86)\Android\android-sdk
I opened CMD and directed to that folder.
I've checked the command sdkmanager --list, see sdkmanager page for more information
And I downloaded via the sdkmanager commands the SDKs I needed
Also, VS2017's SDK manager started to work as well after I downloaded what I needed from the command line.
download the latest version of "sdk-tools-windows-4333796.zip" in https://developer.android.com/studio this web site and update your visual studio to latest version
this will surely work because even in my case it was same error for 3days then i did these changes and now it works fine
Install Android studio - https://developer.android.com/studio
Open Android studio -> configure -> copy Android SDK location
Open Visual studio -> Tools -> Options -> Xamarin -> paste your SDK location
Done!

Where is Android SDK option to install on Android Studio?

I've just formatted and installed a fresh windows 10. Next, I downloaded Android Studio and didn't see the Android SDK option to install.
Android_Studio_Install_Option
I installed it nevertheless. Naturally, after I opened Android Studio, it opened a window saying that it needs Android SDK to work properly. I went to Android Studio homepage again, and downloaded
SDK Command Line
Extracted it to c:\program files\android . I opened Android Studio again and tried to pinpoint the tools folder inside c:\program files\android\tools as the location of SDK and received this warning:
not valid home for SDK
I typed CMD with administrator rights, entered the tools folder, and executed android update sdk and it downloaded some files and wrote after a while repositores.cfg could not be loaded.
I am out of options now. I need the SDK to compile ! I can't find an offline install on internet. How can Android Studio be installed without the SDK ? I do not understand... and before you ask, there's no android folder on c:\users\my_user\AppData\local ...is there a bug on the latest Android Studio install program? I can't have SDK already installed because this is a fresh install of windows 10. Help on this matter will be much aprecciated.
If you can open Android Studio then go to Tools --> Android --> SDK manager and you should be able to install or uninstall SDKs from there
I had similar problem. I had settings imported from my previous Android Studio installation and my Android SDK Location was set to a folder which was empty. I couldn't figure out how to download new Android SDK but after clicking "Edit" next to "Android SDK Location" (in Default Settings > Appearance & Behavior > System Setttins > Android SDK) Android Studio opened a dialog box where I could choose to install/update my SDK or just selected components of it.

Android Studio Bug? AntergOS Android SDK can't be installed with Android Studio or AUR

OS : Antergos (Linux)
The problem here is the missing Android SDK, I can not install it from either android-studio-2.2 or AUR.
When I tried to install it from the Android SDK, it does not allow me to check the Android SDK Platform for download
Assuming that Android SDK is already installed I proceed to click next only to be met with this message which confirms that an Android SDK is installed. I then tried to start a project which the program in turn throw an error saying that the Android SDK is not installed. I then check the settings and found that the Android SDK Location is not set. I google for the location of default Android SDK location, which is $HOME/Android/sdk, which does not exist on my machine. The only conclusion I can make is that Android SDK is not installed on my machine. I tried to install it from android-studio-2.2's GUI but it does not let me tick it while saying that it is installed. I then tried to install the Android SDK from the AUR, which returns 'package filename is not valid'.
I tried installing android-studio-2.2 from both AUR and the official android site, neither let me download Android SDK.
What might be the problem? Is it Antergos? Could it be that the default install path is different than many other path on the internet?
You need to reset the older SDK and Android Studio configuration by going to the:
/home/brandon/.. directory
and deleting .AndroidStudio2.2 and Android folder. Make sure you have enabled hidden directory visibility. This will reset old Android Studio setup and start over everything from the beginning.

Installing ANDROID sdk on a MAC OS X

I've been facing issues with my installation of Android sdk on my MAC.
As instructed on the google website I've followed their instructions to install
ADT Plugin
Android SDK
Eclipse platform
The installation is not on this order but as directed by the website. After installation I followed the instructions to create a .bash_profile(it was not present on my computer) and I updated it with the directory settings. Now I've installed it and set the path folder on Eclipse using the preferences->android. When I click apply and I exit I get an error stating that Android component is missing. Also to note that the android sdk->platform is supposed to contain an adb is empty.
I used this question's solution and yet I get the same error
Thank you for your input
UPDATE: It asks me to use the SDK manager to install I am unable to locate this component
It sounds like you haven't installed any actual Android SDK platforms.
Go to the tools directory of the Android SDK and run android. The Android SDK manager GUI will appear allowing you to install an android platform. Click on available packages, expand Android repository, and install the platform versions you want.

Categories

Resources