Hi,
i wanted to build the Aircraft Propeller scene for Gear VR, but can’t find the android sdk its asking for during build process. I was offered Android Studio when checking for the Android SDK online, so i installed it, but seems there is no from Build requested Android SDK in its folders.
Does this help? Step five tells you which menu to configure this in in Unity. From memory the first time was a pain, but once it’s set up it’s set up forever.
It didn’t ask for the android sdk path any more.
Not sure if i really have the sdk installed or if the existing sdk folders are just place holder or otherwise used.
i have installed Unity5.6 and Android Studio (with SDK) on a new Win10 install and receive the same error message when testing to build the standard scene with the racing car for Android
Okay. I finally managed to reproduce the problem you were having. It turns out the latest release of Android Studio comes with a newer SDK (specifically the tools folder of the SDK) than Unity is capable of recognizing. Solving it simply requires replacing the tools folder in the SDK with an older release. I recommend just renaming the old folder.
Thanks for posting that the SDK is under ~/AppData/Local. I installed Android Studio in its default location in C:\Program Files\Android, so I never in a million years would have thought the SDK was not somewhere under that hierarchy.
You can rename it to another folder name. My personal practice is to rename it to format YYYYMMDD_OriginalName (20180131_tools). Please attached photo. Make sure also that you let the Unity3D point to the correct directories for the SDK and JDK. You can set these inside “EDIT>PREFERENCES>EXTERNAL TOOLS”.