Search code examples
javaandroidmacosandroid-studioandroid-sdk-tools

Installing Android Studio on Mac OSX 10.12 fails to install android sdk


I want to do some android development.

I have a new macbook, on Mac OSX version 10.12.6

I go to https://developer.android.com/studio/index.html and download version 3.0.0.18 for the mac of Android Studio.

The download completes, I drag the app into my Applications Folder, and run.

Android Studio then shows this error: enter image description here

This says the Android SDK is not found -- which is true I don't have one installed.

I click next and am shown this screen - which is where I find the problem: enter image description here

The box on this screen says Android SDK - (installed) which is strange because the Android SDK is not installed. The screen suggests the android SDK location is /Users/me/Library/Android/sdk however this directory does not exist on my machine.

I click Next, then Finish and am presented with this screen:

enter image description here

Can somebody please help me -- Android Studio should download for me the SDK if I don't have one installed so why does it believe I have one when I don't?


Solution

  • I believe the problem here was a firewall blocking the outbound call to the download server, which was not reported correctly from the Android Studio.

    Trying the install from a different location worked first time.