如何为Eclipse安装最新版本的ADT插件 [英] How to install last version of ADT plug-in for eclipse

查看:143
本文介绍了如何为Eclipse安装最新版本的ADT插件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我对android感兴趣.我将Eclipse与ADT插件一起使用,并且已经从GitHub站点下载了一个项目,并试图理解这一点.

I am interested in android. I use Eclipse with ADT plug-in and I have downloaded a project from GitHub site and trying to understand this.

但是无法打开XML文件,错误消息:

But XML file can't be opened, the error message :

此版本的渲染库比您的ADT插件版本新.请更新ADT插件."

"This version of the rendering library is more recent than your version of ADT plug-in. Please update ADT plug-in".

尽管我已经安装了v23.0.2.1.,但似乎该最新项目的ADT版本较旧.

It seems that my ADT version is old for this recent project although I have installed v23.0.2.1.

我需要帮助以获取有关ADT的最新版本或针对我的问题的另一种解决方案.

I need help to reach the last version for ADT or another solution for my problem.

谢谢

推荐答案

您使用Eclipse ADT Bundle,我的意思是-在发布Android Studio 1.0之前,存在ADT Bundle-Eclipse和其他Android工具.

Do you use Eclipse ADT Bundle, I mean - before Android Studio 1.0 was released there was ADT Bundle - Eclipse with additional Android tools.

我知道,它仍然可以下载: http://tools.android.com/recent/eclipseadtbundleupdated

Well I see, it's still available to download: http://tools.android.com/recent/eclipseadtbundleupdated

如果使用它,请删除,然后从此站点下载干净的Eclipse: https://eclipse.org/downloads/packages/release/Mars/1

If you use it, please delete it and download clean Eclipse from this site: https://eclipse.org/downloads/packages/release/Mars/1

如果您打算使用除Android支持的Java之外的其他语言进行开发,请免费下载例如: Eclipse IDE for C/C++ Developers

If you're planning to develop also in the other languages than Android accomodated Java, please free to download for example: Eclipse IDE for C/C++ Developers

我曾经将Eclipse for Eclipse Eclipse IDE用于Eclipse Committers 4.5.1`和"Eclipse IDE用于Java EE开发人员",所以我确定它们与newet ADT插件高度兼容.

I had used Eclipse for EclipseEclipse IDE for Eclipse Committers 4.5.1` and 'Eclipse IDE for Java EE Developers', so I'm sure these are higly compatible with newet ADT Plugin.

在安装Eclipse之后,您需要下载并解压缩Stand-alone SDK Tools,在这里[a] http ://developer.android.com/sdk/index.html#Other

After you install Eclipse, you need to download and unpack Stand-alone SDK Tools, where you would find [here] http://developer.android.com/sdk/index.html#Other

注意:Android SDK的最新版本为android-sdk_r24.4.1.

Note: Already the latest version of Android SDK is android-sdk_r24.4.1.

在下载并解压缩EclipseAndroid SDK后,请阅读以下文档: http://developer.android.com/sdk/installing/installing-adt.html 或只需执行以下步骤:

After downloading and unpack Eclipse and Android SDK read this documentation: http://developer.android.com/sdk/installing/installing-adt.html or just follow these steps:

要将ADT插件添加到Eclipse:

  1. 启动Eclipse,然后选择Help > Install New Software.
  2. 单击右上角的Add.
  3. 在出现的Add Repository对话框中,输入 ADT Plugin表示Name,以下URL表示Location:https://dl-ssl.google.com/android/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/

注意:Android开发者 工具更新站点需要安全的连接.确保更新 您输入的网站网址以HTTPS开头.

Note: The Android Developer Tools update site requires a secure connection. Make sure the update site URL you enter starts with HTTPS.

  1. 单击OK.
  2. Available Software对话框中,选择复选框Developer Tools,然后单击Next.
  3. 在下一个窗口中,您将看到要下载的工具的列表.
  4. 单击Next.
  5. 阅读并接受许可协议,然后单击Finish. 如果收到安全警告,提示无法确定软件的真实性或有效性,请单击OK. 安装完成后,重新启动 Eclipse.
  1. Click OK.
  2. In the Available Software dialog, select the checkbox next to Developer Tools and click Next.
  3. In the next window, you'll see a list of the tools to be downloaded.
  4. Click Next.
  5. 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. When the installation completes, restart Eclipse.


配置ADT插件

一旦Eclipse 重新启动,您必须指定 您的Android SDK directory的位置:

Configure the ADT Plugin

Once Eclipse restarts, you must specify the location of your Android SDK directory:

  1. 在出现的欢迎使用Android开发"窗口中,选择Use existing SDKs.
  2. 浏览并选择您最近下载并解压缩的Android SDK目录的位置.
  3. 单击Next.
  4. 您现在已设置了Eclipse IDE来开发Android应用程序,但是您需要向您的应用程序中添加最新的SDK平台工具和Android平台 环境.
  5. 要为您的SDK获取这些软件包,请继续添加 平台和软件包.
  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.
  4. 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.
  5. To get these packages for your SDK, continue to Adding Platforms and Packages.

这篇关于如何为Eclipse安装最新版本的ADT插件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆