Eclipse says newer version of ADT is required but cannot find update

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

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

So, how can I get Android packages when I need a newer version of ADT, but Eclipse says no ADT updates were found?

Regards, Tom

+4
source share
4 answers

On Yury's tip, I uninstalled and reinstalled Eclipse. I'm not sure about the previous version, but it was a Helios version for at least 2 years. The new version of Indigo, and now the SDK and AVD managers are displayed as separate menu items "Window", and all installed versions of the SDK are displayed under the SDK manager. I think there is something about the latest Android things that are incompatible with Helios (although the Android documentation claims that Android is compatible with Helios). Thanks to Yuri!

0
source

I also had this problem when upgrading from 21.x to 22.

There is no need to completely remove and reinstall Eclipse.

  • When eclipse complains about the wrong ADT, just close the dialog.
  • Go to the Help / Install New Software section.
  • In the "Work with" section, select "Android Developer Tools Update Site" - hxxp: //dl-ssl.google.com/android/eclipse/ "
  • Be sure to uncheck the "Contact all update sites ..." box. Yes. Uncheck the box. Why, I do not know, but otherwise it fails. Without explaning the reason.
  • Click "Next", confirm the license, etc., finish.

It worked for me. But the question why a multi-billion dollar project, such as Android, cannot create a simple and efficient update without selecting any strange options, still did not answer.

+17
source

It is very strange. If you installed AVD 16, you should have separate menu bars for the Android SDK Manager and AVD Manager (in the Window menu). I think you should reinstall the eclipse plugin and ADT.

0
source

Ok, this is what I worked in my case, JFTR:

Remove ADT:

  • Open About Eclipse in Help (Linux and Windows) or the Eclipse Menu (OSX)
  • Click "Installation Details"
  • Choose only Android development tools
  • Click Delete
  • After uninstalling, Eclipse will ask for a restart, do it.

Reinstall ADT:

  • Open Help / Install New Software
  • In the "Work with" section, select ADT should have a URL, for example, " https://dl-ssl.google.com/android/eclipse/ "
  • Expand "Developer Tools" and only check "Android Development Tools"
  • Click "Next" and wait for the installation to complete.
  • Restart Eclipse

I hope this helps someone.

0
source

Source: https://habr.com/ru/post/1397332/


All Articles