sdk does not contain any platforms что это
(Android studio 2.1) “SDK does not contain any platforms. error”
I’m getting the «SDK does not contain any platforms. error» after installing Android Studio 2.1. How to fix it?
I have JAVA_HOME 1.7.0_80 and error download and install SDK
Answers
By default sdk was installed under the
C:Users AppDataLocalAndroidsdk directory
So now change your sdk path by browsing above specified path. And you have to add JAVA_HOME path under System Variable.
You can change the sdk path by copy pasting the entire sdk directory from C Drive to any new location.
This is bug https://code.google.com/p/android/issues/detail?id=68834 and will be fixed in 0.5.9. In the meantime you can ignore the warning.
There’s nothing wrong with me (good sign of validation) but a problem with the emulators targeting Android 24 or 25.
Issue re-reported back in Oct ’16: https://code.google.com/p/android/issues/detail?id=225049. Faith that Google will resolve this issue as soon as possible.
For now, the solution is to run your emulator using API 23 and there should be no problem accessing the File Explorer with the data using Android Device Manager.
Android studio sdk does not contain any platforms
I downloaded Android studio from their website for windows. It contained 790 Mb. But there is a message shown like
I followed answers for this issue of missing android studio SDK in here. But my problem is not solved yet. I have another problem. There is a message shown
SDK does not contain any platforms
when I chose the SDK location by going to configure > project defaults > project structure.
3 Answers 3
May be some files are not downloaded,try again with your internet connection.It will ask to download some additional files, press allow.
That’s work nice for me
Not the answer you’re looking for? Browse other questions tagged android-studio sdk or ask your own question.
Related
Hot Network Questions
Subscribe to RSS
To subscribe to this RSS feed, copy and paste this URL into your RSS reader.
site design / logo © 2021 Stack Exchange Inc; user contributions licensed under cc by-sa. rev 2021.12.22.41046
By clicking “Accept all cookies”, you agree Stack Exchange can store cookies on your device and disclose information in accordance with our Cookie Policy.
Why am I getting this «Android SDK does not include any platforms!» error?
This question has been asked several times on the Unity answers website, but there’s no solid answer to it!
Problem: While trying to build a game for android in Unity, I receive this error:
Yet I have all Android platform APIs downloaded.
I’ve tried all of the suggested solutions:
I’m absolutely clueless, but I feel like this is a bug on Unity’s side which needs to get fixed. If not, please let me know what I’m doing wrong.
2 Answers 2
Unity seems to suggest it’s a three step process which seem to be missing from your list. If not it could be a driver error.
Android SDK Setup There are some steps you must follow before you can build and run any code on your Android device. This is true regardless of whether you use Unity or write Android applications from scratch.
Download the Android SDK Go to the Android Developer SDK webpage. Download and unpack the latest Android SDK.
Installing the Android SDK Follow the instructions under Installing the SDK (although you can freely skip the optional parts relating to Eclipse). In step 4 of Installing the SDK be sure to add at least one Android platform with API level equal to or higher than 9 (Platform 2.3 or greater), the Platform Tools, and the USB drivers if you’re using Windows.
Get the device recognized by your system This can be tricky, especially under Windows based systems where drivers tend to be a problem. Also, your device may come with additional information or specific drivers from the manufacturer.
For Windows: If the Android device is automatically recognized by the system you still might need to update the drivers with the ones that came with the Android SDK. This is done through the Windows Device Manager.
How to fix android studios 2.3 NDK bug?
«Configuration on demand is an incubating feature. NDK is missing a «platforms» directory. If you are using NDK, verify the ndk.dir is set to a valid NDK directory. It is currently set to C:\Users\Emily Thacker\AppData\Local\Android\Sdk\ndk-bundle. If you are not using NDK, unset the NDK variable from ANDROID_NDK_HOME or local.properties to remove this warning.»
I am pretty sure I am not using NDK and I dont see how I can fix this problem here is my local.properties
Also I do not see a ANDROID_NDK_HOME file in my directory.
17 Answers 17
I was able to prevent this annoying message; here is what worked for me.
I am not using the NDK at all, and had never installed the NDK.
However, as mentioned in another answer here by xsveda, this is a Gradle bug that is documented here:
and so even the «NDK-innocent» may become its victims.
The problem is that Gradle is computing the location of an NDK folder by just tacking on the string «/ndk-bundle» to the SDK folder location, even if you have never installed the NDK.
After establishing this false expectation of an NDK folder existing in a particular location, each time you build, Gradle gives you a warning that you’re «missing» that folder. This is just a warning and does not prevent your build from completing, but it is annoying.
HOW I STOPPED THE ANNOYING MESSAGE:
Since disk space is cheap, and my time is precious to me, I humored this bug by installing the NDK, even though I do not intend to use it.
To do this, you can go to:
and look in the Android NDK location field. If you have not installed the NDK, this field will be empty.
In that case, below that field will be a link for installing the NDK. Click on that link and install it. It takes a few minutes.
Once the installation completes and you close the installation progress dialog, the location of the NDK will be automatically written into the Android NDK location field. This will be something like:
Click the OK button and build again. The error disappears.
Note that you may be able to just type the expected folder into this field; I did not try that. But I don’t know whether that might cause some other problems, especially if you eventually decide to actually use the NDK.
Android Studio Not Including SDK
I’m trying to setup Android Studio on a new install of Mac OS X Yosemite. I downloaded the Android Studio Beta v0.8.14 from here: https://developer.android.com/sdk/installing/studio.html and upon launching it complained about not having an SDK (although the download page indicates it should include the SDK). I tried searching after installing for the SDK and can’t find it (a few other posts indicate /Applications/Android Studio.app/sdk but that location doesn’t exist). Where is the SDK installed and what is required to set it up?
11 Answers 11
Go to the SDK Manager and click Edit. next to the field for the location of the SDK. Then an «SDK Setup» window should display. There you can download the SDK.
Edit: This answer is deprecated as Android Studio seems to bundle everything since a while already.
Old answer
It seems the android-studio-bundle version is no longer available in the download page (instead there are only android-studio-ide). When you start Android Studio, it won’t let you create a new projet until you configure the SDK location.
That means you have to download the SDK separately here, extract it somewhere, and configure it on Configure->Project Defaults->Project Structure. After that, the SDK Manager icon will be enabled and you can download the tools you want.
Information for Windows
For some reason, which I have no time to investigate, Android seems to provide, currently, the IDE and the SDK separately, while in the Dev Webpage says the opposite.
This is the «complete» (false!) tool I have just downloaded: android-studio-ide-171.4443003-windows.exe (SDK is missing here, note the «ide» in the file name).
And this is the real complete tool I had downloaded few months ago, from the same place. android-studio-bundle-162.3871768-windows.exe Note that this last one has the «bundle» in the file name.
Please, download the bundle (IDE+SDK) from here:
I want to suppose (¿?) that similar link you can find for Linux or macOS just Googling for it.