Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 361694

Summary: Eclipse: won't let me use Android SDK, wrongly claims my ADT is out of date
Product: [Eclipse Project] Equinox Reporter: mongrel73
Component: p2Assignee: P2 Inbox <equinox.p2-inbox>
Status: CLOSED NOT_ECLIPSE QA Contact:
Severity: enhancement    
Priority: P3 CC: matthew, Olivier_Thomann
Version: 3.7.1   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description mongrel73 CLA 2011-10-21 13:12:13 EDT
I'm developing for Android with Eclipse, and all was working well until yesterday. I used Ninite to update all my stuff, including JREs and everything (pro tip: do not do that), and it restarted my computer without asking in the middle of editing my workspace.

This caused all kinds of filthy problems, but now it all works, except for Android. I've updated Android SDK and the eclipse ADT, then when I try to tell Eclipse the SDK location, it gives this error:

This Android SDK requires Android Developer Toolkit version 14.0.0 or above. Current version is 12.0.0.v201106281929-138431. Please update ADT to the latest version.

Now, this is an outright lie. My ADT is version 14.0.something. I've tried Help>Check for updates, it says there are no updates. I've tried Help>Install new software...>Available Software Sites and removing the ADT repo, then reinstalling ADT, and it says it failed because I already have version 14.0.whatever.

How do I convince eclipse that my ADT is up to date??

-- Configuration Details --
Product: Eclipse 1.4.1.20110909-0613 (org.eclipse.epp.package.java.product)
Installed Features:
 org.eclipse.pde 3.7.1.r37x_v20110810-0800-7b7qFVtFEx2XnmZ4jlM5mjM
Comment 1 Olivier Thomann CLA 2011-10-21 13:17:18 EDT
Moving to Equinox/p2.
Comment 2 DJ Houghton CLA 2011-10-21 13:22:12 EDT
Please attach a copy of your log file with the exact error message. You can use the Export Log icon from the Error Log view.
Comment 3 John Arthorne CLA 2011-10-21 13:28:41 EDT
How did you "tell Eclipse the SDK location"? Where is that error message coming from? This sounds like a bug report for Android SDK rather than Eclipse.
Comment 4 Matthew Piggott CLA 2011-10-21 13:43:39 EDT
Its an error from Android's Eclipse plugin which isn't distributed by Eclipse.  The last time I used the Android SDK the ADT tools weren't installed by p2 either.