码迷,mamicode.com
首页 > 系统相关 > 详细

Eclipse配置ADT与CDT

时间:2015-05-04 19:48:24      阅读:219      评论:0      收藏:0      [点我收藏+]

标签:

下午完成Eclipse下ADT和CDT的配置:

 

ADT在线配置:

 

  1. 启动 Eclipse,然后选择 Help > Software Updates…。在出现的对话框中,单击 Available Software 选项卡。
  2. 单击 Add Site
  3. 在 Add Site 对话框的 Location 字段中输入下面的 URL:http://dl-ssl.google.com/android/eclipse。单击 OK
  4. 回到 Available Software 界面,单击展开http://dl-ssl.google.com/android/eclipse,可以看到 URL 中包含的插件列表,其中有 Developer Tools 一项。选择 Developer Tools 旁边的复选框,单击 Install。
  5. 在接来下出现的安装窗口中,应该会出现被选中的 Android DDMS 和 Android Development Tools。单击 Next
  6. 阅读并接受许可协议,然后单击 Finish
  7. 重新启动 Eclipse

ADT离线配置(有时可能出现由于firewall屏蔽的而无法在线下载ADT的情况):

下载ADT :https://developer.android.com/sdk/installing/installing-adt.html#Troubleshooting

 

  1. Start Eclipse, then select Help > Install New Software.
  2. Click Add, in the top-right corner.
  3. In the Add Repository dialog, click Archive.
  4. Select the downloaded ADT-23.0.6.zip file and click OK.
  5. Enter "ADT Plugin" for the name and click OK.
  6. In the Available Software dialog, select the checkbox next to Developer Tools and click Next.
  7. In the next window, you‘ll see a list of the tools to be downloaded. Click Next.
  8. 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.

  9. When the installation completes, restart Eclipse.

 

       主要差别在于,离线安装直接找到下载的配置文件,而在线配置需要输入链接地址在线下载,原理是一样的。

另外,Google最新推出Adroid Studio, 其功能与Eclipse配置ADT后是一样的。

 

 
 

Eclipse配置ADT与CDT

标签:

原文地址:http://www.cnblogs.com/himanxu/p/4476834.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!