23

I am having this weird issue when I was trying to merge my projects from eclipse to netbeans. Now when trying to rerun eclipse I get this error

"Android SDK requires android developer toolkit version 17.0.0 or above"

What I have tried to do to resolve the issue was try and update the SDK and toolkit inside of it.

So far everything is updated and now I am clueless.

Error message when starting up eclipse

GAMA
  • 5,958
  • 14
  • 79
  • 126
sdfwer
  • 1,042
  • 3
  • 10
  • 23

7 Answers7

22

Go to your eclipse, click on Help -> install new software -> Add... -> type in 'ADT plugin' for name, type in 'https://dl-ssl.google.com/android/eclipse/' for URL, then a couple selections including ADT will show up in the window, click on the things you want to update then click okay, and you will be able to update your ADT.

L.Q
  • 221
  • 2
  • 2
18

Run software updates in Eclipse (Help > Check for Updates) and update the ADT.

Ted Hopp
  • 232,168
  • 48
  • 399
  • 521
13
  1. In Eclipse go to Help.
  2. Install New Software ---> Add inside Add Repository write the Name: ADT and Location: https://dl-ssl.google.com/android/eclipse/
  3. after loading you will get Developer Tools and NDK Plugins
  4. check both if you want or check Developer Tools.
  5. click Next
  6. finish
Naveen
  • 830
  • 9
  • 19
8

Had the same problem. Tried to update through Help > Check for Updates, but was getting an alert message like this:

Contacting software sites has encountered a problem

And after that the update process failed. Googled and found the solution.

You just need to add one line in eclipse.ini, which is located in Eclipse folder. Add this line to the end of the file:

-Djava.net.preferIPv4Stack=true

And after that the update process went normally.

The problem lies in the fact that the upload process goes through IPv6, but the internet service provider supports IPv4.

Source (russian)

azizbekian
  • 60,783
  • 13
  • 169
  • 249
1

Just update your Android Developer Toolkit. It's automatically done through the included GUI updater/manager.

m0skit0
  • 25,268
  • 11
  • 79
  • 127
  • 3
    Like I said on my question, everything is updated to the max. Pretty much the android developer toolkit doesn't have any more updates than the 15. I couldn't run android sdk on eclipse since it is locked and can't be found so I had to update in on the folder location which everything is updated. – sdfwer Apr 09 '12 at 14:21
  • You're wrong. [Latest is 17](http://developer.android.com/sdk/index.html), [also here](http://developer.android.com/sdk/tools-notes.html) – m0skit0 Apr 09 '12 at 14:23
0

First update your Android SDK (it looks like you already did this) Then perform update Eclipse

After the Eclipse is updated, make sure you have the latest Android plugins for Eclipse installed.

Last, in the Android SDK Manager plugin make sure your path to the updated Android SDK is correct.

JBCP
  • 13,109
  • 9
  • 73
  • 111
Aaqib
  • 1
-1

After I add the repository I see this message: Unable to read repository at https://dl-ssl.google.com/android/eclipse/content.xml. Unable to read repository at https://dl-ssl.google.com/android/eclipse/content.xml. sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

vipin
  • 1