如何为Eclipse安装最新版本的ADT插件 [英] How to install last version of ADT plug-in for eclipse
问题描述
我对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 Eclipse
Eclipse 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
.
在下载并解压缩Eclipse
和Android 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:
- 启动
Eclipse
,然后选择Help > Install New Software
. - 单击右上角的
Add
. - 在出现的
Add Repository
对话框中,输入ADT Plugin
表示Name
,以下URL
表示Location
:https://dl-ssl.google.com/android/eclipse/
- Start
Eclipse
, then selectHelp > Install New Software
. - Click
Add
, in the top-right corner. - In the
Add Repository
dialog that appears, enterADT Plugin
for theName
and the followingURL
for theLocation
: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.
- 单击
OK
. - 在
Available Software
对话框中,选择复选框 到Developer Tools
,然后单击Next
. - 在下一个窗口中,您将看到要下载的工具的列表.
- 单击
Next
. - 阅读并接受许可协议,然后单击
Finish
. 如果收到安全警告,提示无法确定软件的真实性或有效性,请单击OK
. 安装完成后,重新启动 Eclipse.
- Click
OK
. - In the
Available Software
dialog, select the checkbox next toDeveloper Tools
and clickNext
. - In the next window, you'll see a list of the tools to be downloaded.
- Click
Next
. - 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, clickOK
. 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
:
- 在出现的欢迎使用Android开发"窗口中,选择
Use existing SDKs
. - 浏览并选择您最近下载并解压缩的Android SDK目录的位置.
- 单击
Next
. - 您现在已设置了Eclipse IDE来开发Android应用程序,但是您需要向您的应用程序中添加最新的SDK平台工具和Android平台 环境.
- 要为您的SDK获取这些软件包,请继续添加 平台和软件包.
- In the "Welcome to Android Development" window that appears, select
Use existing SDKs
. - Browse and select the location of the Android SDK directory you recently downloaded and unpacked.
- Click
Next
. - 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.
- To get these packages for your SDK, continue to Adding Platforms and Packages.
这篇关于如何为Eclipse安装最新版本的ADT插件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!