- Home /
Android SDK does not include any platforms!
This question has been asked several times on the answers website, but there's no solid answer to it! I've tried all of the suggested solutions:
Running Unity as Admin
Manually modifying the AndroidSdkRoot registry value
Deleting the old android platform folders
Reinstalling Android SDK into a folder other than Program Files
Reinstalling Unity
Recreating the project
Renaming "android-sdk" folder to "android-sdk-windows" since that was the default folder name value in the Unity's Browse dialog window.
Some Notes:
The Android SDK Home in Preferences value gets reset every time I try to build the project!
I'm also not using the Eclipse bundle, I installed Android SDK using the .exe installer.
Using Windows 8 Pro x64 (if it makes a difference)
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.
I feel bad. I feel like this is never going to be resolved...
it is a bug in Unity, oddly enough I too am running windows 8 x64. The only way I got it to work was to unzip and run it directly from my downloads folder with all the 4.2.1 sdk installed
It might be because of the new version of the Android SD$$anonymous$$ r22, or maybe you haven't downloaded any Platforms.
So I put an answer below.
Answer by Yharooer · Jul 12, 2013 at 02:28 AM
Presumably you are using an older version of the Android SDK, or else you would get an error like I did.
So go into SDK Manager and download a few versions of the Platforms.
Or if you are using r22 (I don't know why you would get this error though)
Copy everything from android-sdk/build-tools/17.0.0/ to android-sdk/platform-tools/
I hope this helps you!
It's not because I haven't downloaded any platforms, because I have downloaded almost all of them. It might be because the installer version was old, so I just deleted my sdk folder, downloaded the installer and am planning on installing and downloading the packages again.
Nope, didn't work. Neither re-installing sdk to make sure the version is not old, nor copying everything from build-tools to platform-tools. I'm clueless.
Worked for me on $$anonymous$$ac Unity 4.0.0 and Android SD$$anonymous$$ Platform-tools Rev.20
Answer by Frank3D · Aug 07, 2014 at 12:57 PM
I don't know if you fixed the error,but if more people has this error, this video has the solution to this error. It's in spanish,but only you have to follow the steps he do. http://youtu.be/AP5AXLtiYjg
Regards
Can you upload your SD$$anonymous$$? Please! @Frank3d
Pfff...it was 3 years ago jaja. Now I'm not working with Unity, but the video continues online. I fixed it following the steps from that video.
Hope it helps. $$anonymous$$ind regards.
Answer by SanGanesh · Sep 19, 2015 at 03:31 AM
This answer is for MAC for the issue I faced.
I figured out what was the issue. In MAC you need to copy the Android SDK to a location that Unity can access since it can't access /use/local/Cellar. So when you copy Android SDK from /usr/local/Cellar to your local folder then the platforms folder becomes like a link text or some other format. So you need to manually copy the platforms folder again separately and then Unity recognizes it and you do not get the error.
Hope this helps!
Thanks.