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

后端 未结 20 1746
北荒
北荒 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:59

    Hi try this in eclipse: Window - Preferences - Android - SDK Location and setup SDK path.

    0 讨论(0)
  • 2021-02-01 13:01

    i tried everything/....but only this thing worked for me:

    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.

    Thanks a lot Nadir

    0 讨论(0)
  • 2021-02-01 13:01

    Here is, how I've handled this issue (Mac OS X 10.8.4):

    1) Because I previously have installed Android Studio the sdk located here: Applications/Android Studio.app/sdk

    You can dig into Android Studio.app folder by hitting "Show package contents" in context menu

    2) Simply copy the "sdk" folder to another location and write it down to Eclipse preferences. Because I couldn't find how to properly add adress like "/Android Studio.app/sdk" (folder with .app extension) to Eclipse preferences.

    I know that this solution is not smooth and best, but it works (at least for me). And I've tried all advices in this theme, and installed the ADT from http://dl-ssl.google.com/android/eclipse/ before, but the error window have kept appearing every time.

    0 讨论(0)
  • 2021-02-01 13:02

    I got this message after updating eclipse platform-tools and tools from the SDK Manager and then it was impossible to update the SDK path because I had an old version of ADT plugin.

    Whenever you get this error message in a prompt right after eclipse loaded, you should do the following:

    1. Go to Help - Install new software
    2. Click on Available software sites
    3. Delete the link http://dl-ssl.google.com/android/eclipse/
    4. Reboot eclipse
    5. Go to Help - Install new software
    6. In the box "Work with" add http://dl-ssl.google.com/android/eclipse/ again
    7. Install ADT and accept whatever that prompts.

    This is how my problem with this message got solved.

    0 讨论(0)
  • 2021-02-01 13:06

    Simply create this folder:

    C:\Users\xxxxx\android-sdk\tools
    

    and then from Window -> Preferences -> Android, put this path:

     C:\Users\xxxxx\android-sdk
    
    0 讨论(0)
  • 2021-02-01 13:06

    i was facing the same problem. the solution is...Copy the link http://dl-ssl.google.com/android/eclipse/ then in eclipse go to

    Help > Install New Software > Add(work with) > past the link on locations > ok > select all > next

    this will solve your problem.

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