Installing the Eclipse Plugin

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.

Note: You should install the ADT plugin only if you already have an Eclipse installation that you want to continue using. If you do not have Eclipse installed, you should instead install the complete Android SDK, which includes the latest 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 that appears, enter "ADT Plugin" for the Name and the following URL for the Location:      
    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 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.

Troubleshooting ADT Installation



If you are having trouble downloading the ADT plugin after following the steps above and you are behind a firewall (such as a corporate firewall), make sure that you have properly configured your proxy settings in Eclipse. In Eclipse, you can configure proxy information from the main Eclipse menu in Window (on Mac OS X, Eclipse) > Preferences > General > Network Connections.

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:

  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 that the authenticity or validity of the software can‘t be established, click OK.
  10. When the installation completes, restart Eclipse.

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.

Other install errors

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".

For Linux users

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.

时间: 2024-10-13 10:17:04

Installing the Eclipse Plugin的相关文章

Installing the Eclipse Plugin for ADT

http://developer.android.com/sdk/installing/installing-adt.html Download the ADT Plugin Start Eclipse, then select Help > Install New Software. Click Add, in the top-right corner. In the Add Repository dialog that appears, enter "ADT Plugin"

Eclipse Plugin Installation and Windows User Access Control

I make Eclipse Plugins and I sell them to developers using Eclipse. Most of the visitors to my web site are not Eclipse experts. One of my key challenges is getting them to successfully install and try my software. It sounds simple, but Eclipse plugi

GNU ARM Eclipse Plug-in

sourceforge的一个开源项目GNU ARM Eclipse Plug-in,适合Eclipse编译ARM,代替原来的命令行界面vim,累死Windows的集成开发环境,下面是主页链接很有用 http://sourceforge.net/projects/gnuarmeclipse/ GNU ARM Eclipse Plug-in,布布扣,bubuko.com

2.1 Hadoop Eclipse Plugin 配置及安装

Hadoop Eclipse 开发工具 主要分为 1.根据Hadoop版本生成插件 2.安装Hadoop Eclipse插件 3.配置Hadoop目录 4.配置Hadoop连接 5.新一个MapReduce工程 WordCount.java MapReduce--WordCount问题总结 参考:http://blog.sina.com.cn/s/blog_7fcb1aef0100zpux.html 正成功输入出后信息: 14/05/21 23:06:47 INFO input.FileInpu

OSGi与Maven、Eclipse PlugIn的区别

osgi 的框架的 apache felix   equinox osgi的bundle 的概念maven 的  module  的   Eclipse 的 PlugIn  的区别.... OSGi与Maven Maven也具有模块化系统的特征:但是它只是一个编译时工具,而不是运行时框架.Maven并不是OSGi的竞争者,而是OSGi的一个补充. 通过在pom.xml中指定所依赖jar包的名称.版本号,Maven就能在编译时自动下载正确的jar文件,并部署到classpath中. 然而Maven

The J-Link hardware debugging Eclipse plug-in

Quicklinks If you already know what are the features of the new plug-in and just want to know how to install/use it, you can directly skip to: J-Link install J-Link plug-in usage Why a new plug-in? Until now, debugging with the J-Link probe in Eclips

How to setup Eclipse with WinAVR and the Eclipse plugin AVR-eclipse

源:How to setup Eclipse with WinAVR and the Eclipse plugin AVR-eclipse 中文参考: Arduino的Eclispe开发环境的搭建 Windows下使用Eclipse开发Arduino程序

使用hadoop eclipse plugin提交Job并添加多个第三方jar

来自:http://heipark.iteye.com/blog/1171923 通过 "conf.set("tmpjars", jars);" 可以设置第三方jar,之前一直只是添加一个jar,运行OK,今天打算添加多个jar的时候发现mapreduce在运行时找不到 class(ClassNotFoundException),跟踪代码发现jar文件的确上传到了HDFS中,所以甚是无解,后来上传jar到 hdfs,然后使用DistributedCache.addF

This template requires a more recent version of the Android Eclipse plugin. Please update from versi

新建android project的时候遇到这个错误: 解决方法:①直接修改F:\JAVA\SDK\android-sdk\tools\templates\activities (对应你的JAVA SDK目录)activities目录底下对应的活动窗口风格.template.xml 文件里面的format="3"修改为format="1"应为format="3"对应的是ADT 20.0.3的②升级你的ADT:在线安装:在eclipse的菜单栏选h