Android Plugin Install Problems in Eclipse – Fix Guide
In this article
Yes, you can resolve Android plugin install problems in Eclipse by verifying the ADT update site URL, cleaning Eclipse’s cache, and matching the ADT version to your Eclipse release.
What You'll Need
- Eclipse IDE (the classic Eclipse for Java EE or Eclipse IDE for Java Developers) – version that matches the ADT plugin you plan to install.
- Android SDK installed on your machine.
- Stable internet connection to download the plugin files.
- Administrator or sufficient file‑system rights to write to the Eclipse installation folder.
- Java Development Kit (JDK) 1.7 or newer, because Eclipse requires a compatible JDK.
Step‑by‑Step
- Close Eclipse if it is currently running.
- Open a command prompt (Windows) or terminal (macOS/Linux) and navigate to the Eclipse installation directory.
- Start Eclipse with the
-cleanargument to purge cached plugin data:eclipse -clean. This forces Eclipse to rebuild its internal caches and often clears stale references that cause install failures. - Once Eclipse launches, go to Help > Install New Software.... The exact menu path may vary slightly between Eclipse releases, but the option is always under the Help menu.
- In the Work with: field, enter the official ADT update site URL:
https://dl-ssl.google.com/android/eclipse/. If you are using a mirror, verify that the URL ends with/eclipse/and is reachable in a web browser. - Press Enter or click Add... to load the site. Eclipse will retrieve a list of available features. If the list does not appear, double‑check the URL and your internet connection.
- From the list, expand the Developer Tools category and tick the box next to Android Development Tools. You may also select Android DDMS if you need device monitoring tools.
- Click Next. Eclipse will calculate dependencies and display a summary. Review the list to ensure no unexpected third‑party components are being added.
- Accept the license agreement, then click Finish. Eclipse will download and install the selected features. This step can take several minutes depending on bandwidth.
- If a security warning about unsigned content appears, confirm that the source URL matches the official Google address and click OK to continue.
- When the installation completes, Eclipse will prompt you to restart. Click Yes to allow Eclipse to apply the new plugins.
- After restart, verify the installation by opening Window > Preferences and locating the Android node. If the node appears, the ADT plugin is successfully loaded.
Common Mistakes
- Using an outdated or mistyped update‑site URL – the ADT repository moved several times; a missing trailing slash or a typo will cause a 404 error.
- Attempting to install ADT on a newer Eclipse version that no longer supports the plugin. ADT works reliably with Eclipse 4.5 (Mars) through 4.7 (Oxygen). Newer releases require Android Studio instead.
- Running Eclipse without administrator rights on Windows, which prevents writing to the
pluginsandfeaturesfolders. - Having an incompatible JDK version (e.g., JDK 9+) that Eclipse cannot use for the ADT build tools. Stick to JDK 8 or the version recommended by the ADT documentation.
- Skipping the
-cleanstep after a previous failed install, leaving stale metadata that blocks new attempts.
Tips
- Before installing, open Help > About Eclipse > Installation Details and note the exact Eclipse version. Match it to the ADT compatibility table on the official Android developer site.
- If you work behind a corporate proxy, configure Eclipse’s proxy settings under Window > Preferences > General > Network Connections before adding the update site.
- Keep a separate workspace for Android development. Mixing Android projects with unrelated Java projects can cause class‑path conflicts that look like install failures.
- After a successful install, set the Android SDK path in Window > Preferences > Android > SDK Location. Eclipse will warn you if the path is missing or points to an incomplete SDK.
- Run
eclipse -clean -clearPersistedStateif you continue to see plugin activation errors after a restart.
Troubleshooting
If the steps above do not resolve the issue, follow this escalation path:
- Check the Error Log. Open Window > Show View > Error Log. Look for entries that mention
org.eclipse.equinox.p2ororg.eclipse.update. The log often contains a specific missing dependency message. - Verify Java version. In a terminal, run
java -version. Ensure the output shows a JDK version compatible with your Eclipse build. If not, adjust theECLIPSE_JAVA_HOMEenvironment variable or reinstall the correct JDK. - Delete the cached p2 data. Close Eclipse, then delete the
p2folder located inside the Eclipse installation directory (e.g.,Eclipse/p2). Restart Eclipse with-cleanagain and repeat the install. - Use the offline archive. Google previously provided a zip file containing the ADT plugin. If the online site is unreachable, download the archive from a trusted mirror, then in Install New Software click Add... > Archive... and point to the zip file.
- Re‑install Eclipse. As a last resort, move the existing Eclipse folder to a backup location, download a fresh Eclipse package matching the required version, and repeat the installation steps. This eliminates any corrupted core files.
Frequently Asked Questions
Why does Eclipse say “No items to install” after I entered the ADT URL?
The update site may be unreachable, the URL is incorrect, or the site does not support the Eclipse version you are running. Verify the URL and ensure your Eclipse release is listed as compatible on the Android developer page.
Can I install the ADT plugin on Eclipse 2020‑06 or newer?
No. The ADT plugin was discontinued before Eclipse 2020‑06. For newer Eclipse releases you should switch to Android Studio, which includes all Android tooling out of the box.
What should I do if Eclipse crashes during the install process?
Start Eclipse with -clean and -clearPersistedState, then check the Error Log for the exact exception. Often the crash is caused by an incompatible JDK or a corrupted workspace; creating a new workspace solves the problem.
Do I need to reinstall the Android SDK after adding the ADT plugin?
No. The ADT plugin only needs the path to an existing SDK. Ensure the SDK location is set correctly in Window > Preferences > Android > SDK Location and that the SDK contains the required platform tools.
Is it safe to delete the .metadata folder in my workspace to fix plugin errors?
Deleting .metadata removes all workspace settings, including project configurations and saved preferences. It will fix many plugin‑related errors but you will lose custom settings. Consider copying the folder first or creating a fresh workspace instead.