Android SDK missing with Android Studio 3

Attila Tanyi picture Attila Tanyi · Oct 26, 2017 · Viewed 55.4k times · Source

I've just downloaded Android Studio 3 for Windows from the official website, but when it starts, it displays an error message about a missing Android SDK:

Android SDK missing. You can obtain it from d.android.com/sdk

When I click that link, it just redirects to the same official website. There isn't a separate link there for SDK download.

Where could I get it from? Shouldn't the Android SDK be installed during Android Studio 3 setup?

Answer

Attila Tanyi picture Attila Tanyi · Oct 27, 2017

Apparently, the problem was that Android Studio 3.0 had already been installed and uninstalled before this. The SDK got removed, but Android Studio's config didn't.

Removing the config from a previous install (C:\Users\<user>\.AndroidStudio3.0 folder) did the trick. When Android Studio started up, it opened a dialog about which parts of the SDK to download, and then proceeded as expected.