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

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

    I had the same problem when I was trying to upgrade from ADT 20.0.x to ADT 23.0.x on Eclipse Indigo.

    To fix the issue, I had to uninstall the ADT plugin (remove feature) from Eclipse, then reinstall the newer versions.

    This maybe done by going to Help->Install New Software. Then at the bottom of the page, click What is already installed?

    All what is left now is to install the newer versions as usual from help->Install New Software.

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

    If you already installed in your eclipse you can solve this problem below,

    Go to Windows -> Install New Software and find your android plugin address

    Check all lists and re-install your android plugin for eclipse

    I solved it like this

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

    If you already setup location in preferences, but see that error, try to create folder "add-ons" in your sdk folder

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

    had the same problem in windows, the reason is always displayed at the top of the window(where you browse for the location)

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

    Hope this helps:

    Step 1.) Go to https://www.eclipse.org/downloads/index-developer.php?release=kepler and download appropriate Eclipse version.

    Step 2.) Extract downloaded zip file in appropriate location. In this tutorial, I have downloaded and installed it under program files.

    Step 3.) Right click on eclipse.exe file and send shortcut to desktop.

    Step 4.) Double click on eclipse shortcut from desktop and select appropriate location to create your workspace.

    Step 5.) Navigate to Window > Preferences. This should open Preferences window.

    Step 6.) On the left hand side page expend “Java” and click on “Installed JREs”

    Step 7.) Click Add. It will open “Add JRE” dialog. Select “Standard VM” and click Next.

    Step 8.) For “JRE home” select “Direcotry…”. This will open “Browse for folder” dialog. Select the location where your JDK is installed. NOTE: MAKE SURE THAT ITS x64 AS WELL, AS WE ARE USING 64-BIT VERSION OF ECLIPSE.

    Step 9.) If you have selected proper location, it will show JDK version in JRE name and it will display “JRE system libraries”.

    Step 10.) Click finish. Now your JDK is properly pointed as “Installed JREs”.

    Step 11.) Select checkbox unchecked before name of your JDK name.

    Click ok and you’re done. You are now using JDK as “Installed JREs”

    Read complete procedure at below location.

    https://softwaretestingboard.com/qna/4/how-do-i-map-android-sdk-after-eclipse-plugin-is-installed#axzz4wM3UEZtq

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

    I experienced this problem and fixed it by updating to the latest Android SDK Tools which in my case was 20.0.3

    I am running Mac OSX Lion 10.7.4

    If ever you encounter errors while updating the SDK Tools try deleting

    http://dl-ssl.google.com/android/eclipse/ from the "Available Software Sites" in Eclipse, and adding it again.

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