# 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?

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. – HellspawnedJawa Feb 7 '15 at 20:33
• On Linux, Android Studio by default installs the sdk in ~/Android/Sdk – Jamie Aug 26 '16 at 2:33

File -> Other settings -> Default Project Structure menu invokes dialog box where you can see Android SDK Location.

It's ~/Library/Android/sdk on MacOS and ~/Android/Sdk on Linux, according to this comment.

You must follow this thread and it works! I just renamed the old "tools" folder to "tools_old", downloaded the correct file from http://www.livecode-blog.de/forums/topic/android-sdk-installieren/#post-1056 and extracted the "tools" folder from the .zip file into SDK. After selecting the SDK folder (parent to "tools" folder), Livecode version 8.1.5 did compile the Android app without any more errors!

• This does not appear to answer the question "How would I find the SDK folder for Android Studio..." - can you please edit your answer to clarify how you're recommending the user should do this? – DMGregory Nov 5 '17 at 15:48

If you installed the SDK manually through command line, it's nice to know Unity asks for the root folder of the SDK, at least in Unity 2018.3.

So, if you installed it in

C:/sdk-tools-windows


it's that folder what Unity asks for, and not C:/sdk-tools-windows/platforms/android-28 for example. It took me a while to get it!

Go C:/user/username/appdata/local/sdk but some time it may be hiden if this floder hiden studio give error message like SDK tool directry missing

• This does not anything new that has not already been said some 2 years ago. – Gnemlock May 1 '17 at 9:13

I went to "File > Project Structure > SDK Location" and checked "Use embedded JDK", and the error went away for me.

• The Java JDK is an entirely different component, and comes with Unity (as far as I am aware). The Android SDK is a differant component that does not come with Unity, and has to be downloaded, separately. Ergo, this answer is incorrect. – Gnemlock Jun 13 '17 at 7:18