简体   繁体   中英

Eclipse is saying “Update Android Developer Toolkit”

I've somehow managed to mess up my Eclipse and Android set-up and I'm not sure how to fix it. The symptoms of the problem are as follows:

In Preferences > Android, I try to select the location of android-sdk-linux, when select the error appears "This Android SDK requires Android Developer Toolkit version 20.0.0 or above. Current version is 18.0.0.v201203301601-306762. Please update ADT to the latest version."

Going to Help > Check for Updates in Eclipse, returns no updates found

Going to Help > Install new software and selecting work with ADT Plugin - https://dl-ssl.google.com/android/eclipse/ . Selecting Developer Tools and next, returns

Cannot complete the request. See the error log for details. "Android DDMS" will be ignored because it is already installed. "Android Development Tools" will be ignored because it is already installed. "Android Hierarchy Viewer" will be ignored because it is already installed. "Android Traceview" will be ignored because it is already installed. "Tracer for OpenGL ES" will be ignored because it is already installed.

If I then take a look at what is already install, Android Development Tools is listed and the version is 20.0.0.v201206242043-391819

Now for the interesting part:

If I go to Help > About > Installation Details > Features is lists Android Development Toolkit as Version: 20.0.0.v201206242043-391819 but if I then go into Plug-ins it lists Android Development Toolkit as Version: 18.0.0...

Sorry for yet another question on updating the ADT as there already seem to be quite a lot of questions on the topic but I've tried the typically solutions and they does seem to be getting me very far

Some extra info, that people often ask for OS: Ubuntu 12.04 LTS Eclipse Platform: Version 3.7.2

In your installed folder of eclipse there is a folder named plugins .
Do the following:

  1. Find the plugin file/folder of Andriod SDK and move it to some other folder for backup.
  2. Download from Android site the latest version of Android SDK
  3. Copy/paste it in your plugins folder
  4. Restart eclipse

And everything should be fine.

最后,我无法解决它,所以我完成了卸载它并从头开始重新设置它,谢谢你的帮助

在Eclipse中运行软件更新(帮助>检查更新)并更新ADT。

I know I'm late to the game on this one, but I figured I would contribute since I ran into the same problem myself. In order to check for installed plugins in Eclipse, do the following.

From the Eclipse Preferences Menu.. -Select "Install/Update" -From the General Menu, There should be a link button that says "Uninstall or Update"

This should take you to a prompt that will allow you to uninstall anything you've added onto your Eclipse setup!

Go to the below site https://developer.android.com/sdk/installing/installing-adt.html and download ADT-22.3.0.zip from the site. then follow the procedures mentioned there..

uncheck "Contact all update sites during install to find required software"

see: Can not install Android ADT 21.1 on eclipse Juno (Windows 7) after upadate to SDK 21.1

After updating the Android SDK Tools to the latest version from the SDK manager, do the following:

  1. Go to Eclipse->Help->Install new software
  2. Type https://dl-ssl.google.com/android/eclipse/ in the "Work with" Text box
  3. From the list, select all and then click next
  4. Now Eclipse will prompt you that in order to install these new software, Eclipse will uninstall the old version (in this case Android Developer Tools), click on next, read and accept the license and wait for it to download
  5. Restart Eclipse and everything should be working fine.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM