Eclipse Plugin (
ADT)
If you will be using the Eclipse IDE as your environment for developing
Android applications, you can install a custom plugin called
Android Development Tools (ADT), which adds integrated support for
Android projects and tools. The ADT plugin includes a variety of powerful extensions that make creating, running, and debugging
Android applications faster and easier.
If you will not be using the Eclipse IDE, you do not need to download or install the ADT plugin.
To download and install the ADT plugin, set up an Eclipse remote update site as described in the steps below.
Start Eclipse, then select Help > Software Updates > Find and Install....
In the dialog that appears, select Search for new features to install and press Next.
Press New Remote Site.
In the resulting dialog box, enter a name for the remote site (e.g. Android Plugin) and enter this as its URL:
https://dl-ssl.google.com/android/eclipse/. Press OK.
You should now see the new site added to the search list (and checked). Press Finish.
In the subsequent Search Results dialog box, select the checkbox for Android Plugin > Eclipse Integration > Android Development Tools and press Next.
Read the license agreement and then select Accept terms of the license agreement, if appropriate. Press Next.
Press Finish.
The ADT plugin is not signed; you can accept the installation anyway by pressing Install All.
Restart Eclipse.
After restart, update your Eclipse preferences to point to the SDK root directory ($SDK_ROOT):
Select Window > Preferences... to open the Preferences panel. (Mac OS X: Eclipse > Preferences)
Select Android from the left panel.
For the SDK Location in the main panel, press Browse... and find the SDK root directory.
Press Apply, then OK
Updating the ADT Plugin
To update the ADT plugin to the latest version, follow these steps:
Select Help > Software Updates > Find and Install....
Select Search for updates of the currently installed features and press Finish.
If any update for ADT is available, select and install.
Alter
natively,
Select Help > Software Updates > Manage Configuration.
Navigate down the tree and select Android Development Tools <version>
Select Scan for Updates under Available Tasks.