Installing the Eclipse Plugin

Source: Internet
Author: User

Installing the Eclipse Plugin

Android offers a custom plugin for the Eclipse IDE, called Android Development Tools (ADT). This plugin provides a powerful, integrated environment on which to develop Android apps. It extends the capabilities of Eclipse-to-let-quickly set up new Android projects, build a app UI, debug your app, an D Export signed (or unsigned) app packages (APKs) for distribution.

Note: You should install the ADT plugin only if you already has an Eclipse installation so you want to continue using. If you don't have an Eclipse installed, you should instead install the complete Android SDK, which includes the LAT EST IDE for Android developers.

Your existing Eclipse installation must meet these requirements:

    • Eclipse 3.7.2 (Indigo) or greater

      Note: Eclipse 3.6 (Helios) is no longer supported with the latest version of ADT.

    • Eclipse JDT Plugin (included in most eclipse IDE packages)
    • JDK 6 (JRE alone is not sufficient)
    • not compatible with GNU Compiler for Java (GCJ)
Download the ADT Plugin

To add the ADT plugin to Eclipse:

  1. Start Eclipse, then select Help > Install New software.
  2. Click Add, in the Top-right corner.
  3. In the Add Repository dialog so appears, enter "ADT Plugin" for the Name and the following URL for the Loca tion:
    HTTPS://dl-ssl.google.com/android/eclipse/ 

    Note: The Android Developer Tools Update site requires a secure connection. Make sure the update site URL, you enter starts with HTTPS.

  4. Click OK.
  5. In the Available software dialog, select the checkbox next to Developer Tools and click Next.
  6. In the next window, you'll see a list of the tools to be downloaded. Click Next.
  7. Read and accept the license agreements, then click Finish.

    If you get a security warning saying this authenticity or validity of the software can ' t be established, click ok< /c1>.

  8. When the installation completes, restart Eclipse.
Configure the ADT Plugin

Once Eclipse restarts, you must specify the location of the Your Android SDK directory:

    1. In the ' Welcome to Android Development ' window, appears, select Use existing SDKs.
    2. Browse and select the location of the Android SDK directory for you recently downloaded and unpacked.
    3. Click Next.

Your Eclipse IDE is now set up to develop Android apps, but you need to add the latest SDK platform tools and an Android p Latform to your environment. To get these packages for your SDK, continue to Adding platforms and packages.

Troubleshooting ADT Installation

If you have trouble downloading the ADT plugin after following the steps above and you is behind a firewall (such a s a corporate firewall), make sure, and the properly configured your proxy settings in Eclipse. In eclipse, you can configure proxies information from the main Eclipse menu in Windows (on Mac OS X, eclipsePreferences > General > Network Connections.

If you is still unable to use Eclipse to download the ADT plugin as a remote update site, you can download the Adt Zip fi Le to your local machine and manually install it:

  1. Download the ADT Plugin zip file (do not unpack it): Package
    Size MD5 Checksum
    Adt-23.0.3.zip 103321934 bytes ab2f5e2fbbdddeeb7dfd02cd4046538a
  2. Start Eclipse, then select Help > Install New software.
  3. Click Add, in the Top-right corner.
  4. In the Add Repository dialog, click Archive.
  5. Select the downloaded adt-23.0.3.zip file and click OK.
  6. Enter "ADT Plugin" for the name and click OK.
  7. In the Available software dialog, select the checkbox next to Developer Tools and click Next.
  8. In the next window, you'll see a list of the tools to be downloaded. Click Next.
  9. Read and accept the license agreements, then click Finish.

    If you get a security warning saying this authenticity or validity of the software can ' t be established, click ok< /c2>.

  10. When the installation completes, restart Eclipse.

To update your plugin once "ve installed using the zip file, you'll have to follow these steps again instead of the D Efault Update instructions.

Other Install errors

Note that there is features of ADT that require some optional Eclipse packages (for example, WST). If you encounter a error when installing ADT, your Eclipse installion might not include these packages. For information what to quickly add the necessary packages to your Eclipse installation, see the Troubleshooting Topi C ADT Installation Error: "Requires plug-in Org.eclipse.wst.sse.ui".

For Linux users

If The encounter this error is installing the ADT Plugin for Eclipse:

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

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

Installing the Eclipse Plugin

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.