Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Eclipse says a more recent ADT version is required, but can't find an update

In Eclipse I check for available Android packages, at Window->Android SDK and AVD Manager. Under "Available packages" it shows site as "https://dl-ssl.google.com/android/repository/repository.xml" - but underneath there says "This repository requires a more recent version of ADT. Please update the Eclipse Android plugin".

However the "About Eclipse" menu indicates that I am running Android ADT 16.0.1, and when I check for updates with Help->Check for Updates, it says "No updates were found".

So how can can I get the Android packages when I require a more recent version of the ADT, but Eclipse says no ADT updates were found?

Regards, Tom

like image 537
user604713 Avatar asked Dec 04 '22 05:12

user604713


1 Answers

I had this problem too when updating from 21.x to 22.

It is not necessary to completely uninstall and re-install Eclipse.

  • When eclipse complains about the wrong ADT, simply close the dialog.
  • Go to Help/Install new software.
  • At "Work with", select "Android Developer Tools Update Site - hxxp://dl-ssl.google.com/android/eclipse/"
  • Be sure to uncheck "Contact all update sites...". Yes. Uncheck. Why, I don't know, but otherwise it fails. Without explaining why.
  • Click on next, confirm license etc., finished.

This worked for me. But the question, why a multi billion dollar project like Android doesn't manage to create a simple and working update without selecting any weird options, is still not answered.

like image 90
user2328447 Avatar answered Mar 16 '23 00:03

user2328447