Android offers a custom plugin for the Eclipse IDE, called Android Development Tools (ADT). This plugin provides a powerful, integrated environment in which to develop Android apps. It extends the capabilities of Eclipse to let you quickly set up new Android projects, build an app UI, debug your app, and export signed (or unsigned) app packages (APKs) for distribution.
If you need to install Eclipse, you can download it from eclipse.org/mobile.
Note: If you prefer to work in a different IDE, you do not need to install Eclipse or ADT. Instead, you can directly use the SDK tools to build and debug your application.
https://dl-ssl.google.com/android/eclipse/
If you have trouble acquiring the plugin, try using "http" in the Location URL, instead of "https" (https is preferred for security reasons).
If you get a security warning saying that the authenticity or validity of the software can't be established, clickOK.
Once Eclipse restarts, you must specify the location of your Android SDK directory:
Your Eclipse IDE is now set up to develop Android apps, but you need to add the latest SDK platform tools and an Android platform to your environment. To get these packages for your SDK, continue toAdding Platforms and Packages.
If you are having trouble downloading the ADT plugin after following the steps above, here are some suggestions:
http://dl-ssl.google.com/android/eclipse/
If you are still unable to use Eclipse to download the ADT plugin as a remote update site, you can download the ADT zip file to your local machine and manually install it:
Package | Size | MD5 Checksum |
---|---|---|
ADT-21.0.1.zip | 13569302 bytes | acfb01bf3fd1240f1fc21488c3dd16bf |
If you get a security warning saying that the authenticity or validity of the software can't be established, clickOK.
To update your plugin once you've installed using the zip file, you will have to follow these steps again instead of the default update instructions.
Note that there are features of ADT that require some optional Eclipse packages (for example, WST). If you encounter an error when installing ADT, your Eclipse installion might not include these packages. For information about how to quickly add the necessary packages to your Eclipse installation, see the troubleshooting topic ADT Installation Error: "requires plug-in org.eclipse.wst.sse.ui".
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.