问题
i have updated SDK to 21.1 and how to update ADT 21.1 in old version. and when i opened my SDK it displays
This Android SDK requires Android Developer Toolkit version 21.1.0 or above. Current version is 21.0.1.2012-12-6-2-58. Please update ADT to the latest version.
any solution, Thanks in advance
回答1:
Faced the same problem and success with following steps
- Download the ADT Plugin zip file ADT-21.1.0.zip from http://dl.google.com/android/ADT-21.1.0.zip
- (do not unpack it):
- Start Eclipse, then select Help > Install New Software.
- Click Add, in the top-right corner.
- In the Add Repository dialog, click Archive.
- Select the downloaded ADT-21.1.0.zip file and click OK.
- Enter "ADT Plugin" for the name and click OK.
- In the Available Software dialog, select the checkbox next to Developer Tools and click Next.
- In the next window, you'll see a list of the tools to be downloaded. Click Next.
- Read and accept the license agreements, then click Finish.
- If you get a security warning saying that the authenticity or validity of the software can't be established, click OK.
- When the installation completes, restart Eclipse.
- Resource: http://developer.android.com/sdk/installing/installing-adt.html
- Section: Troubleshooting Installation
回答2:
Open Eclipse -> Help -> Check for updates
Eclipse will do the rest. Please make sure to restart Eclipse once the update is done for the changes to take effect.
回答3:
Go to eclipse > help > Check for updates.
It should list the latest update of adt. If it doesn't work, try this :
go to eclipse > help > Install new software
Click on add
add this url : https://dl-ssl.google.com/android/eclipse/
It will list the updates available- which should ideally be adt 21.1.0 (latest)
install the latest adt and everything should be fine.
source: Update ADT from 21.0 to 21.1 from inankupeli
回答4:
In Eclipse, do the following:
- On the menubar, go to:
Help -> Check for Updates
. - Select ADT when the list comes up.
- Accept licenses when prompted.
- Click on Restart when prompted.
回答5:
Others answers are good.Adding to that
Eclipse -> help -> Install new software
click What is already Installed
, then a list will come then select Android Development tools
(i.e ADT) and click update
.It will be updated to newer version.HTH :)
来源:https://stackoverflow.com/questions/15240484/update-android-adt-tool-to-21-1-0-from-21-0-1