Reputation: 38062
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?
Upvotes: 34
Views: 69582
Reputation: 1
File -> Settings -> Languages & Frameworks -> Android SDK
Then click Edit
Upvotes: 0
Reputation: 85
Re-install studio. If ANDROID_HOME is set to custom location then it will install sdk there else it will install SDK in C:\Users<user name>\AppData\Local\Android\sdk
Upvotes: 0
Reputation: 111
in my case, my country is forbidden from google, and my PC's time zone was set by my counrty. after I change my timezone to another country my problem solved and android studio download SDK and nkd easily
Upvotes: 0
Reputation:
If you have ever installed Android Studio before and then removed it, it won't reinstall the SDK automatically (speculation: some Windows setting somewhere).
The solution is starting Android Studio and then File -> Manage IDE Settings -> Restore Default Settings This will wipe any custom settings you don't have at this point and trigger the SDK install
Upvotes: 4
Reputation: 1736
Edit: This answer is deprecated as Android Studio seems to bundle everything since a while already.
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.
Upvotes: 19
Reputation: 1
I'm using Ubuntu, and had previously installed Android Studio. It was using too much space, so I deleted it. Now when I downloaded it and started ./studio.sh, it found my previous installation configuration directory and asked to import from there. I did, and then this problem occurred.
I put the directory .Android Studio 3.3
in the trash and restarted ./studio.sh
, and it imported the SDK automatically for me. That was good, because I couldn't find it where it was supposed to be according to the dialog box. The 3.3 above is from the version of Android Studio I was installing.
Upvotes: 0
Reputation: 7525
It worked like this for me
After installation is finished. You can find it in this path: C:\Users\<user name>\AppData\Local\Android\sdk
Upvotes: 2
Reputation: 119
What Pablo wrote is misleading.
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).
Yes, it is IDE only, but after you install this IDE and first time run it, SDK will be downloaded automatically. So there is no need to download some outdated bundles. Just use default "green button" on https://developer.android.com/studio/index.html
Upvotes: 1
Reputation: 145
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.
Hope this helps!
Upvotes: 5
Reputation: 550
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.
Upvotes: 40
Reputation: 157
I had the same problem on Windows. After I re-installed it a few times, I found that the SDK was installed but hidden in C:\Users\<user name>\AppData\Local\Android\sdk
.
Upvotes: 14
Reputation: 170
Note:this is a temporary fix
If you have Eclipse then you can use that SDK for emulation.
Just run the sdk manager and emulate a version of android. Then while you are asking for emulating something ie while running code it will show your emulator as online and you can even use it.
Hope this helps you.
All the Best...
Upvotes: -3