Pregunta

I just downloaded the Android Studio .dmg for OSX. Per the installation instructions, I've dragged it to the application folder and launched the application.

But the SDK Manager and AVD Manager are greyed out and are impossible to use.

Any ideas on an installation step I may have missed?

¿Fue útil?

Solución 2

A project needs to have been loaded at least once for the link to become available.

Found it in : File / Project Structure... Then in "Android SDK" provide the path to the SDK folder inside the Android Studio Application Bundle.
Then Make a new project.
Then after the initial setup the elements where finally enabled.

Otros consejos

For people coming for this same problem for Windows: you won't have an Android SDK anywhere if it is your first time with Android. Also, here the Android Studio doesn't come with a packed SDK Manager, so you need to download one.

So this is what you may do:

Download the SDK Manager and an Android SDK

  1. Download the SDK Manager from: http://developer.android.com/sdk/. Use the link that says "Get the SDK for an existing IDE".
  2. Execute the downloaded installer.
  3. Execute this program with administrator rights: SDK Manager.exe
  4. Download the proposed SDK (if you get errors regarding the SDK Manager couldn't create some folders, remember it should be executed as administrator).

Configure Android Studio to work with the new SDK

  1. Open Android Studio and in the Quick Start window click "Configure", you will see the SDK Manager greyed out.
  2. Go to "Project Defaults", then to "Project Structure" and there it will ask for the path where you installed the SDK.
  3. If you click OK and go back you will see the SDK Manager is no longer greyed out, and now you can start creating projects.

Android Studio Beta v0.8.14 with the Android SDK for Mac does not appear to include the SDK: you need to install the SDK manually (e.g. https://developer.android.com/sdk/installing/index.html?pkg=tools) and then configure Android Studio to find and use it.

(I ended up using the ADT bundle, since I couldn't seem to find the SDK as a standalone download.)

You need to use the buttons on the welcome dialog, and not on the applications menu bar or preferences (as I had initially thought). Step by step:

Welcome to Android Studio

Configure panel

(Note that "SDK Manager" is greyed out until you complete this, at which point you cannot undo it for the purposes of taking screenshots...)

Project Defaults panel

Project Structure dialog

Navigate back and the "SDK Manager" button on the "Configure" panel should be enabled. Clicking it should display something like this:

Android SDK Manager

I had a similar problem and the cause was that I've used path with a space in it. There was a warning in the window that can cause problems with NDK, but in fact it caused problems with Android Studio internal SDK as well. After changing the path it works fine.

Go to configure -> project defaults -> project structure

give the path for the SDK and press OK.

It should work now

For Mac Users (Android Studio Beta v0.8.14)

The SDK or SDK manager is not included with this version of Android Studio, and the documentation is obfuscated regarding this change at this point.

  1. Download the standalone SDK from here. You may select the latest revision of the same from this link below the title GET THE SDK FOR AN EXISTING IDE.
  2. Extract the downloaded zip, and rename the folder as sdk
  3. Copy the sdk folder into the Android Studio.app/Contents directory
  4. Restart Android Studio and you will be shown this dialog when the Android Studio starts up

enter image description here

To remove grey out area,

you need to follow this steps as below:

  1. Go to File
  2. Click on Project Structure
  3. Go to SDK Location
  4. Click on Browse to find SDK path
  5. Select proper SDK path on your system
  6. Now click on SDK manager icon on Android Studio toolbar

I hope this solves the problem of grey out area.

Thanks,

This will no longer be a problem when version 1.0 is released. In the meanwhile you can download the latest canary build (1.0 RC2), which downloads the SDK during the setup.

For me, the issue was on windows and it was as simple as launching the installer with "administrative" mode. That's it!

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top