现在的位置: 首页 > 综合 > 正文

Installing the Eclipse Plugin

2019年08月12日 ⁄ 综合 ⁄ 共 1715字 ⁄ 字号 评论关闭
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 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/downloads/.
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.

Download the ADT Plugin


  1. Start Eclipse, then select Help > Install
    New Software
    .
  2. Click Add,
    in the top-right corner.
  3. In the Add Repository dialog that appears, enter "ADT Plugin" for the Name and
    the following URL for the 
    Location:https://dl-ssl.google.com/android/eclipse/
  4. Click OK.

    If you have trouble acquiring the plugin, try using "http" in the Location URL, instead of "https" (https is preferred for security reasons).

  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 that the authenticity or validity of the software can't be established, click OK.

  8. When the installation completes, restart Eclipse.

Configure the ADT Plugin


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

  1. In the "Welcome to Android Development" window that appears, select Use
    existing SDKs
    .
  2. Browse and select the location of the Android SDK directory 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 platform to your environment. To get these packages for your SDK, continue
to
 Adding Platforms and Packages. 

抱歉!评论已关闭.