ADT Plugin

The Android Development Tools (ADT) plugin adds powerful extensions to the Eclipse integrated development environment. It allows you to create and debug your Android applications easier and faster. If you use Eclipse, the ADT plugin gives you an incredible boost in developing Android applications:

  • It gives you access to other Android development tools from inside the Eclipse IDE. For example, ADT lets you access the many capabilities of the DDMS tool: take screenshots, manage port-forwarding, set breakpoints, and view thread and process information directly from Eclipse.
  • It provides a New Project Wizard, which helps you quickly create and set up all of the basic files you'll need for a new Android application.
  • It automates and simplifies the process of building your Android application.
  • It provides an Android code editor that helps you write valid XML for your Android manifest and resource files.

Installing the Eclipse Plugin (ADT)

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, follow the steps below for your respective Eclipse version.

Eclipse 3.3 (Europa)Eclipse 3.4 (Ganymede)
  1. Start Eclipse, then select Help > Software Updates > Find and Install....
  2. In the dialog that appears, select Search for new features to install and click Next.
  3. Click New Remote Site.
  4. 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/

    Click OK.

  5. You should now see the new site added to the search list (and checked). Click Finish.
  6. In the subsequent Search Results dialog box, select the checkbox for Android Plugin > Developer Tools. This will check both features: "Android Developer Tools", and "Android Editors". The Android Editors feature is optional, but recommended. If you choose to install it, you need the WST plugin mentioned earlier in this page. Click Next.
  7. Read the license agreement and then select Accept terms of the license agreement. Click Next.
  8. Click Finish.
  9. The ADT plugin is not signed; you can accept the installation anyway by clicking Install All.
  10. Restart Eclipse.
  1. Start Eclipse, then select Help > Software Updates....
  2. In the dialog that appears, click the Available Software tab.
  3. Click Add Site...
  4. Enter this as the Location:
    https://dl-ssl.google.com/android/eclipse/

    Click OK.

  5. Back in the Available Software view, you should see the plugin. Select the checkbox next to Developer Tools and click Install...
  6. On the subsequent Install window, "Android Developer Tools", and "Android Editors" should both be checked. The Android Editors feature is optional, but recommended. If you choose to install it, you need the WST plugin mentioned earlier in this page. Click Next.
  7. Accept the license agreement and click Finish.
  8. Restart Eclipse.

Troubleshooting ADT Installation

If you are having trouble downloading the ADT plugin after following the steps above, here are some suggestions:

  • In Step 4, try changing the remote update site URL to use http, rather than https.
  • If you are behind a firewall (such as a corporate firewall), make sure that you have properly configured your proxy settings in Eclipse. In Eclipse 3.3/3.4, you can configure proxy information from the main Eclipse menu in Window (on Mac, Eclipse) > Preferences > General > Network Connections.

If you are still unable to use Eclipse to download the ADT plugin, follow these steps to download and install the plugin from your computer:

  1. Download the ADT zip file (do not unpack it).
  2. Follow steps 1 and 2 in the default install instructions (above).
  3. In Eclipse 3.3, click New Archive Site....
    In Eclipse 3.4, click Add Site..., then Archive...
  4. Browse and select the downloaded the zip file.
  5. Follow the remaining procedures, above, starting from steps 5.

Note that to update your plugin, you will have to follow these steps again instead of the default update instructions.

Note that the "Android Editors" feature of ADT requires several optional Eclipse components (for example, WST). If you encounter an error when installing ADT, your Eclipse installation might not include those components. For information about how to quickly add the necessary components to your Eclipse installation, see the troubleshooting topic ADT Installation Error: "requires plug-in org.eclipse.wst.sse.ui".

For Linux users

If you encounter this error when installing the ADT Plugin for Eclipse:

An error occurred during provisioning.
Cannot connect to keystore.
JKS

...then your development machine lacks a suitable Java VM. Installing Sun Java 6 will resolve this issue and you can then reinstall the ADT Plugin.

Updating the ADT Plugin

In some cases, a new ADT plugin may become available for your existing version of the SDK. You can use the steps below to update the ADT plugin from inside Eclipse.

Eclipse 3.3 (Europa)Eclipse 3.4 (Ganymede)
  1. Select Help > Software Updates > Find and Install....
  2. Select Search for updates of the currently installed features and click Finish.
  3. If an update for ADT is available, select and install.

Alternatively,

  1. Select Help > Software Updates > Manage Configuration.
  2. Navigate down the tree and select Android Development Tools <version>
  3. Select Scan for Updates under Available Tasks.
  1. Select Help > Software Updates...
  2. Select the Installed Software tab.
  3. Click Update...
  4. If an update for ADT is available, select it and click Finish.
↑ Go to top