Reprint: http://www.tfan.org/update-adt-and-android-sdk-in-five-minutes/
How to quickly upgrade the installed Android SDK and Eclipse ADT plugin to the latest version? It also ensures that previously downloaded Android APIs and extensions are available. Here we use three steps to complete the update operation.
The first step is to upgrade the Android SDK
First, download the latest SDK from the download page of the Google Android SDK, note that "SDK tools only", do not download the ADT bundle (the bundle also packs an Eclipse):
Unzip the SDK file you just downloaded, and you'll find that the folder contains three directories: add-ons, platforms, and tools. Where both the add-ons and Paltforms directories are empty. Replace the tools directory in the old SDK directory with the tools directory to complete the SDK upgrade.
The location where the SDK is installed can be viewed from Android, Preferences, in Eclipse (SDK locations):
Or view from the SDK Path in the Android SDK Manager interface:
Step Two, upgrade ADT
First download the latest ADT version from the ADT download page on Google:
After the download is complete, select "Install New Software" from the Help menu in Eclipse and click on the "Available software Sites" link in the pop-up window.
Add or edit the ADT Upgrade link in the pop-up window, for example here name we named Adt,location Select the ADT compressed file that you just downloaded.
You can complete an ADT upgrade by closing the open pop-up window and selecting "Check for Update" from the Help menu in Eclipse.
Third step, upgrade Android API and documentation, etc.
Once the ADT and SDK upgrade is complete, you can use the Android SDK Manager to select a new package to upgrade.
If there is a problem connecting to Google's network when you update it, you need to set up an agent to resolve it. The SDK Manager itself can set the HTTP proxy, and if there is no HTTP proxy, only the SOCKET proxy.
You need to set up the socket agent in the system, and then upgrade, the update is completed before the socket agent removed. At this point, the upgrade is complete.
If you have any technical suggestions or comments, welcome to participate in the discussion!
This address: http://www.tfan.org/update-adt-and-android-sdk-in-five-minutes/
Three-step upgrade of installed Android SDK and ADT plugin (reprint)