Android Studio Path (ANDROID-HOME) can't install?

I am facing the problem below when importing a loaded 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 out of this question. I ran into this issue on the Android Studio Mac version.

+6
source share
1 answer

Are you trying to embed a studio project in an Android studio project or eclipse in Android studio .?

Try ANDROID_HOME up your ANDROID_HOME as a studio by asking you. ( export ANDROID_HOME="PATh to your SDK folder" ) and start the studio of this console.

Or you can try to configure inside Android studio ( File->Project Structure->Android SDK ), and then you have to set the correct SDK path.

+11
source

Source: https://habr.com/ru/post/955958/


All Articles