3

I am trying Android Studio. Installed on Windows XP and got the following error while trying to build a new project. One of the error messages: the SDK directory is not found. I have tried to change the path to the SDK but cannot find the option in the configuration menu. Any help is welcome

RESOLVE ERROR:

Failed to import new Gradle project: Could not fetch model of type 'IdeaProject' using Gradle distribution 'http://services.gradle.org/distributions/gradle-1.6-bin.zip'. Build file 'L:\Documents and Settings\Administrador\AndroidStudioProjects\Prueba3Project\Prueba3\build.gradle' line: 9 A problem occurred evaluating project ':Prueba3'. A problem occurred evaluating project ':Prueba3'. The SDK directory 'L:\Documents and Settings\Administrador\Configuración local\Datos de programa\Android\android-studio\sdk' does not exist. 
1
  • I've got the same issue in ubuntu 12.10 any ideas ? Commented May 31, 2013 at 11:02

1 Answer 1

6

You need to modify the local.properties file in your project.

I had manually point it to the path of my SDK, which for me, on Mac, looked like this:

sdk.dir=/Applications/Android Studio.app/sdk 
Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.