0

I downloaded the latest version (3.2.1) of Android Studio from the Android Developers site.

After installing the application, it won't start. I get an error message when clicking on "Start a new Android Studio project":

Your Android SDK is missing, out of date or corrupted.

I read an outdated post dealing with the same issue but an older version of the application. I followed the solution described there and got stuck after navigating to Configure > Project Defaults > Project Structure. This is the window I see right now:

enter image description here

I can't find the SDK. Where is it located? Does it not get installed together with the app? If so, where can I download it from?

Wais Kamal
  • 5,858
  • 2
  • 17
  • 36
  • Are you sure that the path of your SDK does not contain any whitespaces? there is an error in the provided screen. For windows the default SDK location is `C:\Users\\AppData\Local\Android\Sdk` for mac `~\Library\Android` if I am not mistaken. – madlymad Oct 14 '18 at 21:29
  • For the JDK problem just check the `"Use embedded JDK (recomended)"` – madlymad Oct 14 '18 at 21:32
  • As you can see in the screenshot, the SDK path is **empty** and there is **no** SDK installed. – Wais Kamal Oct 15 '18 at 07:26

1 Answers1

2

I can't find the SDK. Where is it located? Does it not get installed together with the app? If so, where can I download it from?

That depends on how you installed the Android Studio. With the SDK packages (called bundle) or you have installed it separately which doesn't have SDK packages.

Where is it located

It's mostly uses:

C:\Users\<username>\AppData\Local\Android\Sdk

Directory on windows if you install SDK Manager, it will be easy to figured out.

where can I download it from

After installing Android SDK Manager, you'll need to download some packages like;

  • Platform-tools
  • Build-tools
  • Support library

And etc

To be able to compile-use Android Studio which is a general question and use Google for that.

ʍѳђઽ૯ท
  • 16,646
  • 7
  • 53
  • 108
  • There is no folder named Android in `C:\Users\Wais\AppData\Local`. You also stated that I need to download some packages, but where from? A website? Using npm? – Wais Kamal Oct 15 '18 at 05:52
  • Have you installed SDK manager? You can download the packages with SDK manager so you won’t need anything else. Simple :) – ʍѳђઽ૯ท Oct 15 '18 at 07:22
  • I tried doing that, but it fails everytime. I get an error: "Cannot download ...". Anyways I downloaded a zip file from [here](https://dl.google.com/android/repository/android_m2repository_r47.zip), but I have no idea where to place its contents. Can you help me? – Wais Kamal Oct 15 '18 at 07:29
  • Sure. It sounds like your IP has an issue. Maybe it is blocked or there is an issue with the internet connection. That package should be placed in `/extras` and then unzip the file in there. You can however opening the sdk manager in Android Studio then try to install platforms and etc. – ʍѳђઽ૯ท Oct 15 '18 at 07:32
  • Yes, it is my IP (I downloaded the files using a VPN). Thanks for your help! – Wais Kamal Oct 15 '18 at 07:46
  • Anytime, glad to help. Like I said, if you use Android Studio to open the SDK manager, it will download everything it's needed and it's a better choice to download those packages like emulators or etc. – ʍѳђઽ૯ท Oct 15 '18 at 07:47
  • OK I will try doing that. Thanks again! – Wais Kamal Oct 15 '18 at 07:50