ADT(android devolopment tools)安装

   日期:2024-12-27    作者:suxiqipei 移动:http://3jjewl.riyuangf.com/mobile/quote/64959.html

现在使用eclipse+adt已经不是android官方的推荐android开发环境了,使用android studio能更好的使用android的新特性和拥有更好的编译环境,具体优点有:1.智能代码编辑器Intelligent code editor)2.代码模板以及整合githubCode templates and GitHub integration)3.多种app-screen适用开发Multi-screen app development)...所以能看出来使用android SDK能更好的开发android程序,但是因为本人找到的视频及文档教程为eclipse+adt所以还是从官网上翻译了该文。

ADT(android devolopment tools)安装



一、ADT下载

1、打开eclipse,选择帮助/安装新软件( Help > Install New Software...

2、点击右上角的添加(add)按钮

3、在添加弹出的对话框中Name栏输入 "ADT Plugin",Location栏输入下面地址

1.Start Eclipse, then selecHelp > 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:

4.Click OK

Note: 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 后一个.

6.In the next window, you'll see a list of the tools to be downloaded. Click 后一个.

7.Read and accept the license agreements, then click Finish.

Note: 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.

二、ADT配置


当你安装了ADT之后,你必须选择你Android SDK文件夹的位置

1、选择Window>Preferences...来打开preference面板(如果是mac os x,选择eclipse>preferences

2、在面板左边选择android。

3、在主面板中的SDK Location选项,点击Browse...然后选择你存放Android SDK的文件夹。

4、点击应用,OK

原文

After you've installed ADT and restarted Eclipse, you must specify the location of your Android SDK directory:

  1. Select Window > Preferences... to open the Preferences panel (on Mac OS X, select Eclipse > Preferences).
  2. Select Android from the left panel.

    You may see a dialog asking whether you want to send usage statistics to Google. If so, make your choice and clickProceed.

  3. For the SDK Location in the main panel, click Browse... and locate your downloaded Android SDK directory (such as).
  4. Click Apply, then OK.

If you haven't encountered any errors, you're done setting up ADT and can continue to the next step of the SDK installation.

三、问题解决

如果ADT的安装是在有问题,可以按照如下的步骤本地安装。

1.下载ADT Plugin zip文件,地址如下(ADT-23能兼容现在使用的ADT-24的最新版本

http://pan.baidu.com/s/1nqANO 密码:mqtm

2.如(一)中1、2部所做。

3.在填写网址的对话框中选择Archive按钮。

4.浏览并选择刚下载的zip文件。

5.在name字段中输入一个名字(比如Android Plugin

6.点击OK.

7.然后按照下载ADT步骤4之后的步骤一步步操作。

原文

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 current ADT Plugin zip file from the table below (do not unpack it).
  2. Follow steps 1 and 2 in the default install instructions (above).
  3. In the Add Site dialog, click Archive.
  4. Browse and select the downloaded zip file.
  5. Enter a name for the local update site (e.g., "Android Plugin") in the "Name" field.
  6. Click OK.
  7. Follow the remaining procedures as listed for default installation above, starting from step 4.



特别提示:本信息由相关用户自行提供,真实性未证实,仅供参考。请谨慎采用,风险自负。


举报收藏 0评论 0
0相关评论
相关最新动态
推荐最新动态
点击排行
{
网站首页  |  关于我们  |  联系方式  |  使用协议  |  隐私政策  |  版权隐私  |  网站地图  |  排名推广  |  广告服务  |  积分换礼  |  网站留言  |  RSS订阅  |  违规举报  |  鄂ICP备2020018471号