- How to install and configure Eclipse ADT plugin (Android Development Tools)?
- Where to download ADT plugin for Eclipse?
- How to solve installation problems?
- Is it necessary to set it up now?) - rasmisha
- This is just a translation of help for beginners when they plug in a plug-in to Eclipse for the first time. The setting there is minimal. - Hi
- developer.android.com/sdk/index.html from here you can download customized eclipse and newbies will most likely download it now. To be honest, I don’t even remember that there were a lot of such questions, so that the captain fakes would produce. Maybe of course this is necessary - rasmisha
1 answer
Android offers a custom Eclipse IDE plugin called Android Development Tools (ADT). This plugin provides a powerful integrated environment for program development. It extends the capabilities of Eclipse, which allows you to quickly develop new Android projects, including creating an application interface, debugging applications, and exporting signed (or not) application packages (APKs) for distribution.
If you want to install Eclipse, you can download it from http://eclipse.org/mobile
Note If you prefer to work in different IDEs, you do not need to install Eclipse or ADT. Instead, you can directly use SDK tools to create and debug applications.
Download ADT Plugin
- Launch Eclipse, then choose Help> Install New Software .
- Click the Add button in the upper right corner.
- In the Add Repository dialog box that appears, enter the "ADT Plugin" for Name and the following URL for Location:
https://dl-ssl.google.com/android/eclipse/
- Click OK . If you have problems getting a plugin, try using "HTTP" in the URL for Location, rather than "HTTPS" (HTTPS is preferable for security reasons).
- In the Available Software dialog, check the box next to the Developer Tools and click the Next button.
- In the next window you will see a list of tools for downloading. Click Next . Read and accept the terms of the license agreement, and then click Finish .
- If a security warning appears stating that the authenticity and validity of the software cannot be established, click OK .
- After the installation is complete, reload Eclipse.
ADT plugin setup
- After restarting Eclipse, you must specify the location of the Android SDK directory.
- In the “Welcome to Android Development” window that appears, select Use existing SDKs . Find and select the location of the Android SDK directory that was recently downloaded and unpacked.
- Click Next .
The Eclipse IDE is now set up to develop software, but you need to add the latest SDK platform tools and the Android platform to your environment. To get these packages for the SDK, then read about adding platforms and packages.
Troubleshooting Installation
If you have a problem loading the ADT plugin after following the steps above, here are a few tips:
If Eclipse cannot find the remote update site containing the ADT plug-in, try changing the URL of the update site using HTTP rather than HTTPS, that is, setting the location for the remote site:
http://dl-ssl.google.com/android/eclipse/
If you are behind a firewall (for example, a corporate firewall), make sure that you have correctly configured the proxy server settings in Eclipse. In Eclipse, you can configure proxy information from the Eclipse main menu in Window> Preferences> General> Network Connections .
If you still can’t use Eclipse to download the ADT plugin from the remote update site, you can download the ADT plugin as a file on your local computer and manually install it.
- Download the archive file of the ADT plugin (do not unpack it)
- Launch Eclipse, then choose Help> Install New Software .
- Click the Add button in the upper right corner.
- In the Add Repository dialog box, click the Archive button.
- Select the downloaded ADT-21.1.0.zip file and click OK .
- Enter the name "ADT Plugin" and click OK .
- In the Available Software dialog, check the box next to the Developer Tools and click the Next button.
- In the next window you will see a list of tools for downloading. Click Next .
- Read and accept the terms of the license agreement, and then click Finish .
- If a security warning appears stating that the authenticity and validity of the software cannot be established, click OK .
- After the installation is complete, reload Eclipse.
To update the plugin installed from the archive, you will have to perform the above steps again instead of the default update instruction.
Other installation errors
Please note that there is an ADT functionality that requires some additional Eclipse packages (for example, WST). If you encounter an error installing ADT, your Eclipse may not include these packages. For information on how to quickly add the necessary packages to install Eclipse, read the section. about troubleshooting http://developer.android.com/guide/faq/troubleshooting.html#installeclipsecomponents
For Linux users
If the following error occurs when installing the ADT Plugin for Eclipse:
An error occurred during provisioning.
Cannot connect to keystore.
Jks
So the system lacks a suitable Java virtual machine. Installing Sun Java 6 will solve this problem, and you can reinstall the ADT plugin.
Installing the Eclipse Plugin .
This is a list of the Creative Commons 2.5 Attribution License.