How would I find the SDK folder for Android Studio so I can build my Unity project?

  • So I've been trying to build my unity project for android, but my problem is that I don't know how to find the Android SDK. I have the old developer bundle installed, when it was still the one with eclipse, but this version is not supported by Unity. So, I installed the latest version of Android Studio, the new official Android IDE, but the SDK folder is not in the same place as the rest of the program. How would I find the SDK folder for Android Studio so I can build my Unity project?

  • Matt Dowis

    Matt Dowis Correct answer

    6 years ago

    the sdk may be hidden in the AppDatafolder (the folder itself was hidden).

    If you want to look for AppData, but can't find it, open explorer and type %appdata%, press enter. It will show the hidden files. Path will look like this; C:\Users\Your.name\AppData\Local\Android\sdk1 Now that you have found the sdk, go back in to unity and click EDIT / Preferences / External Tools. You will see a field for Android SDK location - enter the path in that field.

    Thanks, but I had already figured it out by opening Android Studio and going to File -> Project Structure. It opens a window that tells you where it is.

    On Linux, Android Studio by default installs the sdk in `~/Android/Sdk`

    `%AppData%\..\Local\Android\sdk` on windows if you just want to go there straight away

License under CC-BY-SA with attribution


Content dated before 6/26/2020 9:53 AM