构建项目错误

ama*_*ugr 3 android-studio

我正在尝试使用Android Studio.安装在Windows XP上,并在尝试构建新项目时遇到以下错误.其中一条错误消息:找不到SDK目录.我试图更改SDK的路径,但无法在配置菜单中找到该选项.欢迎任何帮助

解决错误:

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.
Run Code Online (Sandbox Code Playgroud)

Ale*_*rge 6

您需要修改local.properties项目中的文件.

我已经手动将它指向我的SDK的路径,对我来说,在Mac上,看起来像这样:

sdk.dir=/Applications/Android Studio.app/sdk
Run Code Online (Sandbox Code Playgroud)