Android的工作室路径(ANDROID-HOME)不能设置? [英] Android Studio Path (ANDROID-HOME) not able to set?

查看:1334
本文介绍了Android的工作室路径(ANDROID-HOME)不能设置?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我对着下面的问题,同时导入下载的项目分成Andoroid Stuio。
请帮帮我。

I am facing the below problem while importing the downloaded project into Andoroid Stuio. Please help me.

**

Could not execute build using Gradle distribution 'http://services.gradle.org/distributions/gradle-1.7-bin.zip'.
Build file '/Users/Rajesh.K/Desktop/Test/Project/build.gradle' line: 9
A problem occurred evaluating project ':Project'.
A problem occurred evaluating project ':Project'.
SDK location not found. Define location with sdk.dir in the local.properties file or with an ANDROID_HOME environment variable.
Consult IDE log for more details (Help | Show Log)

**

请帮我走出这个isssue的。我对着在Android Studio的Mac版这个问题。

Please help me to come out of this isssue. I am facing this issue in the Android Studio Mac version.

推荐答案

您想imort 工作室项目进入 Android的工作室项目进入 Android的工作室

Are you trying to imort studio project into Android studio or eclipse project into Android studio.?

试着设置你的 ANDROID_HOME 演播室问你。 (出口ANDROID_HOME =路径的SDK文件夹)并运行工作室构成本控制台。

Try to set up your ANDROID_HOME as studio asking you. ( export ANDROID_HOME="PATh to your SDK folder" ) and run studio form this console.

或者你可以尝试 Android的工作室文件&GT在配置;项目结构 - >的Andr​​oid SDK ),然后您应该设置适当的 SDK 路径。

Or you can try to configure in within Android Studio (File->Project Structure->Android SDK) And then you should set the proper SDK path.

这篇关于Android的工作室路径(ANDROID-HOME)不能设置?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆