ADT下载地址:http://dl.google.com/android/ADT-20.0.3.zip

有关ADT的介绍及安装环境要求:http://developer.android.com/tools/sdk/eclipse-adt.html

我安装ADT前的环境为 Win7+JDK 1.6+Eclipse 4.2

ADT是Eclipse用来开发Android应用程序的一个插件,关于如何具体搭建一个
安卓的开发环境,我就不多说了,想知道的朋友在网上查询一下即可。
在Eclipse中如何安装ADT,安卓官方已经说得很清楚了,在此我将它的原文给拷贝了过来,
稍微有点英语基础的人,认真看看,应该可以看得懂的,在重要的地方我进行了注释,
以方便不懂英文的童鞋。

原文地址为:http://developer.android.com/sdk/installing/installing-adt.html#Download

Installing the Eclipse Plugin

Android offers a custom plugin for the Eclipse IDE, called AndroidDevelopment Tools (ADT). This plugin is designed to give you a powerful, integratedenvironment in which to develop Android apps. It extends the capabilitiesof Eclipse to let you quickly set up new Android projects, build an appUI, debug your app, and export signed (or unsigned) app packages (APKs) for distribution.

If you will be developing in Eclipse with the ADT Plugin, first make sure that you have asuitable version of Eclipseinstalled on your computer as described by thesystem requirements.

If you need to install Eclipse, you can download it from http://www.eclipse.org/downloads/.We recommend the "Eclipse Classic" version. Otherwise, you should use a Java orRCP version of Eclipse.

Note: If you prefer to work in a different IDE, you do not need toinstall Eclipse or ADT. Instead, you can directly use the SDK tools to build anddebug your application. So if you're not using Eclipse, continue to the next page by clickingthe Next link on the right.

Download the ADT Plugin    //下载ADT插件,你可以让Eclipse帮你下载ADT,也可以自己下载ADT插件

//以下这种安装ADT插件的方式就是让Eclipse帮你下载ADT,然后安装ADT,网上 有很多介绍ADT的安装方法,用的就是

//这种方法,刚开始我装ADT时用的也是这种方法,不过我安装失败了,如果网络不好的话,建议不要用这种方法,

//我比较推荐使用第二种安装方法,即先用迅雷下载ADT插件,然后再用Eclipse安装,该方法请见文章的后半部分。


  1. Start Eclipse, then select Help > Install NewSoftware.
  2. //启动Eclipse,在菜单栏选择Help-->在弹出来的菜单中选择Install NewSoftWare
  3. Click Add, in the top-right corner.
  4. //选择Install NewSoftWare后,在弹出的对话框中,在右上角点Add按钮
  5. In the Add Repository dialog that appears, enter "ADT Plugin" for the Name and thefollowing URL for theLocation:
    https://dl-ssl.google.com/android/eclipse/
  6. //在Add Repository对话框中,在Name栏输入 ADT Plugin,在Location栏输入网址:
    //https://dl-ssl.google.com/android/eclipse/
  7. 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).

  8. //点OK后,如果你在安装ADT插件时遇到错误,请将以上网址中的https该为http
  9. In the Available Software dialog, select the checkbox next to Developer Tools and clickNext.
  10. //在可用软件的对话框中,选择Developer Tools前的复选框,然后点下一步
  11. In the next window, you'll see a list of the tools to be downloaded. ClickNext.
  12. //在接下来的窗口中,你会看到将要下载的所有工具的列表,然后点下一步
  13. Read and accept the license agreements, then click Finish.

    If you get a security warning saying that the authenticity or validity ofthe software can't be established, clickOK.

  14. //阅读和接受许可协议,然后点Finish,如果弹出安全警告,点OK即可
  15. When the installation completes, restart Eclipse.
  16. //安装完成时,重启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 Useexisting SDKs.
  2. Browse and select the location of the Android SDK directory you recentlydownloaded.
  3. Click Next.

If you haven't encountered any errors, you're done setting up ADT and can continue toNext Steps.

Updating the ADT Plugin


From time to time, a new revision of the ADT Plugin becomes available, withnew features and bug fixes. Generally, when a new revision of ADT is available,you should update to it as soon as convenient.

In some cases, a new revision of ADT will have a dependency on a specificrevision of the Android SDK Tools. If such dependencies exist, you will need toupdate the SDK Tools package of the SDK after installing the new revision ofADT. To update the SDK Tools package, use the Android SDK Manager, asdescribed in Exploring the SDK.

To learn about new features of each ADT revision and also any dependencies onthe SDK Tools, see the listings in theRevisionssection. To determine the version currently installed, open theEclipse Installed Software window usingHelp> Software Updates and refer to the version listed for"Android Development Tools".

Follow the steps below to check whether an update is available and, if so,to install it.

  1. Select Help > Check for Updates.

    If there are no updates available, a dialog will say so and you're done.

  2. If there are updates available, select Android DDMS, Android Development Tools, and Android Hierarchy Viewer, then clickNext.
  3. In the Update Details dialog, click Next.
  4. Read and accept the license agreement and then click Finish. This will download and install the latest version of Android DDMS and Android Development Tools.
  5. Restart Eclipse.

If you encounter problems during the update, remove the existing ADT plugin from Eclipse, thenperform a fresh installation, using the instructions forInstalling the ADTPlugin.

Troubleshooting


If you are having trouble downloading the ADT plugin after following thesteps above, here are some suggestions:

  • If Eclipse can not find the remote update site containing the ADT plugin,try changing the remote site URL to use http, rather than https. That is, setthe Location for the remote site to:

    http://dl-ssl.google.com/android/eclipse/
  • If you are behind a firewall (such as a corporate firewall), make sure thatyou have properly configured your proxy settings in Eclipse. In Eclipse,you can configure proxy information from the main Eclipse menu inWindow (on Mac OS X,Eclipse) >Preferences > General >NetworkConnections.

//当用以上那种方式安装不了ADT时,我们可以用下面这种方式,

//我就是根据下面这种方式自己下载ADT,然后安装成功的

If you are still unable to use Eclipse to download the ADT plugin as aremote update site, you can download the ADT zip file to your local machine andmanually install it:

  1. Download the ADT Plugin zip file (do not unpack it): //这是官方给出的ADT下载地址,需要的朋友上其官方查看即可

    Package Size MD5 Checksum
    ADT-20.0.3.zip 12390954 bytes 869a536b1c56d0cd920ed9ae259ae619
  2. Start Eclipse, then select Help > Install NewSoftware. //安装方法跟上面的大同小异,不再敖述
  3. Click Add, in the top-right corner.
  4. In the Add Repository dialog, click Archive.
  5. Select the downloaded ADT-20.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 clickNext.
  8. In the next window, you'll see a list of the tools to be downloaded. ClickNext.
  9. Read and accept the license agreements, then click Finish.

    If you get a security warning saying that the authenticity or validity ofthe software can't be established, clickOK.

  10. When the installation completes, restart Eclipse.

To update your plugin once you've installed using the zip file, you will haveto follow these steps again instead of the default update instructions.

Other install errors

Note that there are features of ADT that require some optionalEclipse packages (for example, WST). If you encounter an error wheninstalling ADT, your Eclipse installion might not include these packages.For information about how to quickly add the necessary packages to yourEclipse installation, see the troubleshooting topicADTInstallation 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 SunJava 6 will resolve this issue and you can then reinstall the ADTPlugin.

为Eclipse安装安卓开发插件ADT相关推荐

  1. perl环境配置以及Eclipse安装perl开发插件

    简介: 这篇文章将详细介绍 EPIC 组件的安装,EPIC 编辑环境,调试运行环境,着重介绍如何使用 EPIC 来快速.简便.准确地调试 Perl 语言程序,包括对于 Perl 程序的单步执行,断点用 ...

  2. mac版本的eclipse安装springboot开发插件(STS)

    查看mac上安装的eclipse版本(安装与eclipse版本一致的STS) 选择:Eclipse------>About Eclipse--------->Version: Photon ...

  3. 为eclipse安装j2ee开发插件

    1.在Eclipse中菜单help选项中选择install new software选项 2.http://download.eclipse.org/releases/ganymede/

  4. 在一个空的Eclipse中安装Android开发的ADT和SDK

    在一个空的Eclipse中安装Android开发的ADT和SDK 一.eclipse中安装adt插件(http://jingyan.baidu.com/article/8cdccae99b564a31 ...

  5. [原创] 毕设---在myeclipes中安装Hadoop开发插件

    1.安装Hadoop开发插件 hadoop安装包contrib/目录下有个插件hadoop-0.20.2-eclipse-plugin.jar,拷贝到myeclipse根目录下/dropins目录下. ...

  6. uniapp 原生安卓开发插件(module),以及android环境本地调试(一)

    uniapp 原生安卓开发插件(module),以及android环境本地调试 1.开发前景 由于uniapp 框架的局限先,有很多功能不能如原生android开发使用顺畅,因此,需要使用插件进行辅助 ...

  7. eclipse安装反编译插件(附jad下载)

    eclipse安装反编译插件(附jad下载) 博客分类: eclipse 一.eclipse反编译插件Jadclipse jadclips插件网站:    http://jadclipse.sourc ...

  8. visual studio安装python插件_Visual Studio 2012 Ultimate 上安装 Python 开发插件 PTVS

    Visual Studio 2012 Ultimate 上安装Python 开发插件PTVS 转载于ITNOSE1.我的环境 操作系统:Win7 旗舰版Service Pack 1 VS版本:Micr ...

  9. eclipse安装Freemaker IDE插件

    eclipse安装Freemaker IDE插件 http://download.jboss.org/jbosstools/updates/ 转载于:https://www.cnblogs.com/y ...

最新文章

  1. 网速测量、流量监控软件 Bandwidth Meter Pro
  2. php安装文件怎么打开文件_php文件如何打开
  3. 【总结】升级Xcode8遇到的问题及解决方案!!! [转]
  4. 针对数据库连接池到DRDS连接探活的优化
  5. 2. java程序严格区分_2.java基本语法
  6. 《应用时间序列分析:R软件陪同》——2.11 习题
  7. web小说目录倒序php实现,php实现WEB在线文件管理器
  8. 安卓短信软件_【安卓清理君】极度舒适的垃圾清理工具
  9. 陈艾盐:《春燕》百集访谈节目第三十七集
  10. 奥迪A6(C5)遥控器钥匙更换电池后无法使用的适配(对码)方法
  11. Android逆向入门6——定位到小红书Sign算法
  12. 百度知道怎么引流减肥粉?想要打破粉丝瓶颈,必须要借助一个有力的平台
  13. 怎么选择合适的PLM系统
  14. vue 微信登录(前后台详细教程)
  15. 大数据课堂笔记 HDFS的shell操作
  16. Lingo入门- 求解LP问题实例1
  17. XML轻松学习教程(修正完善版)
  18. 使用http-middle-ware中间件进行多个接口请求转发
  19. RAITE Hypervisor智能座舱解决方案
  20. leetcode之路-原地算法

热门文章

  1. 每日一犬 · 中国冠毛犬
  2. torch.jit.trace与torch.jit.script的区别
  3. 潇洒郎: windows、centos学习Influxdb下载安装 重置用户、密码 influx语法 数据写入与读取、查询 修改默认启动端口
  4. 怎么在线压缩PDF文件?常见途径说明
  5. CryptoJS v3.1.2 源码自取
  6. 【180718】FC经典坦克大战源码
  7. Eolution登录live邮箱
  8. 志强系列的服务器能吃鸡吗,英特尔 xeon e5-2660能玩绝地求生吗
  9. 微信php功能整合,微信公众平台开发功能整合
  10. 让微信二维码扫描你的APK