1

Just downloaded Android Studio but need an Android 6.0 (Marshmallow) SDK, so in the “Welcome to Android Studio” screen, launched the SDK Manager. In the SDK Manager, went to “System Settings” -> “Android SDK”, and I see Android 6.0 (Marshmallow) SDK and other SDK’s as well, but they are all greyed-out.

How can I install the Android 6.0 (Marshmallow) SDK?

Thank you and will be sure to accept the answer and upvote as well.

enter image description here

Dan Me
  • 2,143
  • 4
  • 19
  • 19

3 Answers3

1

In Android Studio, go to Tools -> SDK Manager and select all the different API's you want to download.

Jesse Buss
  • 833
  • 6
  • 13
  • are you referring to SDK Tools tab next to SDK Platforms? I went to Tools but only see Web Browsers, External Tools, Diff, Server Certificates, and Settings Repository – Dan Me Jan 31 '17 at 19:34
  • Can you select different APIs to download by clicking the checkmark in the SDK Platforms tab? – Jesse Buss Jan 31 '17 at 19:40
  • @JessueBuss please take a look at the original post. Made an edit with the screenshot. All the checkboxes are greyed out. – Dan Me Jan 31 '17 at 19:57
  • Ah okay. In that case follow these steps: http://stackoverflow.com/a/26813635/6214984 – Jesse Buss Jan 31 '17 at 20:03
  • Appreciate the lead but it is referring to Windows users. Would it be applied the same to Mac users? – Dan Me Jan 31 '17 at 20:07
  • If you already have the SDK downloaded, could you verify that you have the SDK location set up properly? It's under File -> Project Structure -> SDK Location – Jesse Buss Jan 31 '17 at 20:16
  • For the downloaded SDK, are you referring to Marshmallow? Also, where can I locate File, is it under Preferences? – Dan Me Jan 31 '17 at 20:29
  • You should download the Android SDK and use that path – Jesse Buss Jan 31 '17 at 20:39
  • Just checking in to see if you've seen my previous comment. Please let me know. – Dan Me Feb 01 '17 at 02:23
  • I can tell from the screenshot that you don't have the sdk path set up. It is normally installed to the `/Users//Library/Android/sdk/` directory. – Jesse Buss Feb 01 '17 at 04:06
1

By checking your posted screenshot the SDK path was missing. Click on Edit button and select your SDK path that you selected while installing Android Studio in your system.

For instance in Windows if you're not selecting any SDK installation path the Android Studio installs it in

C:\Users\<your_name>\AppData\Local\Android\sdk

(mostly you're using MacOS. So, check it in /Users/<your_name>/Library/Android/sdk/)

And click Ok. Now you can download any API version of Android SDK. In order to do that just check the checkbox and hit install.

Shashanth
  • 4,995
  • 7
  • 41
  • 51
0

just go to sdk manager and download the api level 23