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

35,468

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.

Share:
35,468
itsrajesh4uguys
Author by

itsrajesh4uguys

Updated on July 20, 2022

Comments

  • itsrajesh4uguys
    itsrajesh4uguys almost 2 years

    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.

  • wkhatch
    wkhatch about 10 years
    not working in as 0.4.6; neither setting it in local.properties, or exporting the path as ANDROID_HOME is solving this problem
  • Naga
    Naga over 2 years
    This did not help