Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android Studio Path (ANDROID-HOME) not able to set?

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)

**

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

like image 807
itsrajesh4uguys Avatar asked Oct 15 '13 07:10

itsrajesh4uguys


1 Answers

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

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.

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

like image 62
Laser Avatar answered Sep 30 '22 19:09

Laser