Chinaunix首页 | 论坛 | 博客
  • 博客访问: 2121854
  • 博文数量: 229
  • 博客积分: 7217
  • 博客等级: 上校
  • 技术积分: 3224
  • 用 户 组: 普通用户
  • 注册时间: 2009-02-19 17:23
个人简介

个人主页https://xugaoxiang.com,微信公众号: Dev_Club 或者搜索 程序员Club

文章分类

全部博文(229)

文章存档

2017年(1)

2016年(20)

2015年(23)

2013年(1)

2012年(23)

2011年(68)

2010年(62)

2009年(31)

分类: LINUX

2010-04-08 16:24:15

ADT is a plugin for the Eclipse IDE. Before you can install or use ADT, you must have a compatible version of Eclipse installed on your development computer.

system:ubuntu karmic(eclipse 3.5.1)
    sudo apt-get install eclipse

When your Eclipse and Android SDK environments are ready, continue with the ADT installation as described.

Installing the ADT
Plugin

1、Start Eclipse, then select Help > Install New Software
2、In the Available Software dialog, click Add....
3、In the Add Site dialog that appears, enter a name for the remote site (for example, "Android Plugin") in the "Name" field.In the "Location" field,enter this URL:

    https://dl-ssl.google.com/android/eclipse/


4、Back in the Available Software view, you should now see "Developer Tools" added to the list. Select the checkbox next to Developer Tools, which will automatically select the nested tools Android DDMS and Android Development Tools. Click Next.

5、In the resulting Install Details dialog, the Android DDMS and Android Development Tools features are listed. Click Next to read and accept the license agreement and install any dependencies, then click Finish.




6、Restart Eclipse


NOTE:

If you get an error during the steps above

Cannot complete the install because one or more required items could not be found.
  Software being installed: Android Development Tools 0.9.6.v201002051504-24846 (com.android.ide.eclipse.adt.feature.group 0.9.6.v201002051504-24846)
  Missing requirement: Android Development Tools 0.9.6.v201002051504-24846 (com.android.ide.eclipse.adt.feature.group 0.9.6.v201002051504-24846) requires 'org.eclipse.gef 0.0.0' but it could not be found

You should deinstall the eclipse and get a new version frome ,and then REDO the steps.


Configuring the ADT Plugin

1、Select Window > Preferences... to open the Preferences panel

2、Select Android from the left panel

3、For the SDK Location in the main panel, click Browse... and locate your downloaded SDK directory

4、Click Apply, then OK
If you haven't encountered any problems, then the installation is complete,congratulations.


djstava

阅读(4795) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~