问题
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
回答1:
In your installed folder of eclipse
there is a folder named plugins
.
Do the following:
- Find the plugin file/folder of
Andriod
SDK
and move it to some other folder for backup. - Download from
Android
site the latest version ofAndroid
SDK
- Copy/paste it in your
plugins
folder - Restart
eclipse
And everything should be fine.
回答2:
Try using http://dl-ssl.google.com/android/eclipse/ instead of https://dl-ssl.google.com/android/eclipse/
回答3:
In the end, I just couldn't fix it so I complete uninstalled it and set it back up again from scratch, thanks for your help
回答4:
Run software updates in Eclipse (Help > Check for Updates) and update the ADT.
回答5:
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!
回答6:
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..
回答7:
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
回答8:
After updating the Android SDK Tools to the latest version from the SDK manager, do the following:
- Go to Eclipse->Help->Install new software
- Type https://dl-ssl.google.com/android/eclipse/ in the "Work with" Text box
- From the list, select all and then click next
- 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
- Restart Eclipse and everything should be working fine.
来源:https://stackoverflow.com/questions/11505441/eclipse-is-saying-update-android-developer-toolkit