'Location of android SDK has not been setup in preferences
I am getting this error:
I have installed ADT and SDK using install new software in Eclipse. I am using Eclipse Java EE IDE for Web Developers. Version: Kepler Service Release 2
.
I used this link https://dl-ssl.google.com/android/eclipse/
I do not know where the SDK is getting installed as it being done through Eclipse. Which path should I provide to remove this error. Actually I cannot even set a path as the OK button in preferences window remains disabled.
What can be the issue.
I know this has be address earlier but could not get what I am looking for hence added a new thread.
Solution 1:[1]
I do not know where the SDK is getting installed as it being done through Eclipse.
Not if you installed the ADT plugin separately. You need to download and install the Android SDK (see "SDK Tools Only"), then teach the ADT plugin where you installed it.
Also note that support for the ADT Plugin has been officially discontinued by Google.
Solution 2:[2]
Choose Window>preferences>Android
In the SDK location Text Box you need to browse the location of Android SDK, to let eclipse know where the android SDK is, and same for the ADT by chhosing HELP>Install new Software...
Solution 3:[3]
I had faced same problem and get solution....
In Eclipse go to Help
Install New Software ---> Add
Inside Add Repository write the Name: ADT (or, as you want)
and Location: https://dl-ssl.google.com/android/eclipse/
after loading some time you will get Developer Tools.
check Developer Tool
click Next
Finish
Your problem will solved.
Solution 4:[4]
I have deleted folder .android in my user folder (c:/users/xyz/.android) and relaunched Eclipse - dialog box "Android SDK installation" (not exact name) has came up - then install of SDK.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | CommonsWare |
Solution 2 | Binit Singh |
Solution 3 | AmanKumar |
Solution 4 | Grigoriy |