Location of the android sdk has not been setup in the preferences in mac os?

后端 未结 20 1744
北荒
北荒 2021-02-01 12:26

I am installing the Android SDK along with Eclipse in mac os. Whenever I try to start a new project development I get an error location of the android sdk has not been s

相关标签:
20条回答
  • 2021-02-01 12:55

    I've had the same problem on Eclipse Juno.

    No "Welcome page" appeared, I could not create a project, compilation didn't work and "Graphical layout" didn't work.

    I have fixed it: Window > Preferences > General > Startup and shutdown: Check "Android development toolkit"

    Reestart Eclipse.

    Of course you have to be configured this: Window - Preferences - Android - SDK Location and setup SDK path.

    0 讨论(0)
  • 2021-02-01 12:56

    It is very irritating problem... i found one simple solution...that is eclipse->help->Install new software

    now u see "work with"field...below this fields u observe on link called "available software sites"...click on this link..then open one window...here u find out some location address..... delete wrong locations and then add perfect location to install/update location. then click on ok button... then ur problem is solved....

    0 讨论(0)
  • 2021-02-01 12:57

    I saw this error after updating the Android SDK to r17. The solution was to go to Help -> Update and get the latest version of the Android SDK to match.

    0 讨论(0)
  • 2021-02-01 12:58

    If you have not installed plugin for eclipse, install it first.

    If the plugin is installed, setup preferences: "Eclipse">"Preferences...", in left column choose "Android"(do not expand list, just choose root element), and first preference will be "SDK Location".

    0 讨论(0)
  • 2021-02-01 12:58

    there are many things which can cause this error. For example, I imported google api from the android SDK Manager and that is when I got this same error. Eclipse broke down on me. I could not even create a new android project.

    To fix this, I went to help - Install New Software... - from the "work with" drop-down box I selected http://dl-ssl.google.com/android/eclipse/ - I then check marked "Developer Tools" and hit the Next button. I then followed the prompts and it basically did a re-install. It took less than 5 minutes. That resolved the error.

    Now Im back up and running, and I got the lastest version of Eclipse.

    0 讨论(0)
  • 2021-02-01 12:58

    I had the same problem: when click on the "Opens the Android SDK Manager", a pop out error message says “Location of the Android SDK has not been setup in the preference”. The delete and add again update address in "install new software" doesn't work for me.

    I went to the ../android/android-sdk-windows and click the SDK Manager.exe. This works for me.

    So I think after I updated the SDK, the eclipse cannot trigger the SDK Manager currently. But it can run by itself outside of eclipse.

    0 讨论(0)
提交回复
热议问题