我怎样才能更新我在Eclipse ADT? [英] How can I update my ADT in Eclipse?

查看:109
本文介绍了我怎样才能更新我在Eclipse ADT?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图更新我的Eclipse。目前,我有到在我的Eclipse 2.2 Android SDK中。昨天我已经更新了我的Eclipse是这样的:

的Eclipse - >窗口 - > Android的SDK管理器 - >我从列表中选中两个检查盒。工具 - > Android的SDK工具和SDK的Andr​​oid平台工具

我已经张贴在这里,我从网上下载并安装获取消息的一些最后几行:

  

preparing安装档案   
下载Android SDK中平台工具,修订12   
安装Android的SDK平台工具,修订12   
停止ADB服务器成功。   
安装Android的SDK平台工具,修订12   
下载的Andr​​oid SDK工具,修订20   
安装Android的SDK工具,修订20   
[post_tools_install.bat]更新SDK的manager.exe   
[post_tools_install.bat] 1档(S)复制。   
[post_tools_install.bat]更新AVD的manager.exe   
[post_tools_install.bat] 1档(S)复制。   
安装Android的SDK工具,修订20   
停止ADB服务器成功。   
亚行启动服务器成功。   
完成。安装了2个包。   
获取URL:<一个href="https://dl-ssl.google.com/android/repository/addon.xml">https://dl-ssl.google.com/android/repository/addon.xml   
无法抓取网址<一href="https://dl-ssl.google.com/android/repository/addon.xml">https://dl-ssl.google.com/android/repository/addon.xml,原因:dl-ssl.google.com   
获取URL:<一个href="http://software.intel.com/sites/landingpage/android/addon.xml">http://software.intel.com/sites/landingpage/android/addon.xml   
无法抓取网址<一href="http://software.intel.com/sites/landingpage/android/addon.xml">http://software.intel.com/sites/landingpage/android/addon.xml,原因:software.intel.com   
完成装载包。

但毕竟这之后,我已经关闭了Eclipse和再想要启动它抛出错误:

  

这个Android的SDK需要Android开发工具包版本20.0.0或更高版本。现在的版本是16.0.0.v201203301601-306762。请更新ADT到最新版本。

在preferences我收到此错误:

  

这个Android SDK中所需的Andr​​oid开发...请更新ADT到最新版本。

解决方案

您已经更新了Android SDK中,但没有更新的ADT,以配合它。

您可以从这里更新ADT

您可能需要更新的软件源为您的ADT更新

进入月食>帮助>检查更新。

这应该列出ADT的最新更新。如果它不工作试试这个

去日食>帮助>安装新的软件

点击Add(添加)

添加此链接: https://dl-ssl.google.com/android/eclipse/

给它的任何名称。

它会列出更新该服务现有最好应ADT 20.xx

Eclipse将重新启动,并希望一切都应该正常工作适合你。

I have tried to update my Eclipse. Currently I have till 2.2 Android SDK in my Eclipse. Yesterday I have updated my Eclipse like this:

Eclipse -> window -> Android SDK Manager -> I have checked two check-boxes from list. Tools -> Android SDK Tools and Android SDK Platform Tools.

I have posted here some last lines of the message which I get from downloading and installing:

Preparing to install archives
Downloading Android SDK Platform-tools, revision 12
Installing Android SDK Platform-tools, revision 12
Stopping ADB server succeeded.
Installed Android SDK Platform-tools, revision 12
Downloading Android SDK Tools, revision 20
Installing Android SDK Tools, revision 20
[post_tools_install.bat] Updating SDK Manager.exe
[post_tools_install.bat] 1 file(s) copied.
[post_tools_install.bat] Updating AVD Manager.exe
[post_tools_install.bat] 1 file(s) copied.
Installed Android SDK Tools, revision 20
Stopping ADB server succeeded.
Starting ADB server succeeded.
Done. 2 packages installed.
Fetching URL: https://dl-ssl.google.com/android/repository/addon.xml
Failed to fetch URL https://dl-ssl.google.com/android/repository/addon.xml, reason: dl-ssl.google.com
Fetching URL: http://software.intel.com/sites/landingpage/android/addon.xml
Failed to fetch URL http://software.intel.com/sites/landingpage/android/addon.xml, reason: software.intel.com
Done loading packages.

But after all this after I have closed Eclipse and again wanted to start, it throw the error:

This Android SDK requires Android Developer Toolkit version 20.0.0 or above. Current version is 16.0.0.v201203301601-306762. Please update ADT to the latest version.

In preferences I received this error:

This Android SDK requires Android Develop... Please update ADT to the latest version.

解决方案

You have updated the android sdk but not updated the adt to match with it.

You can update the adt from here

You might need to update the software source for your adt update

Go to eclipse > help > Check for updates.

It should list the latest update of adt. If it is not working try this

go to eclipse > help > Install new software

Click on add

add this url : https://dl-ssl.google.com/android/eclipse/

give it any name.

It will list the updates available- which should ideally be adt 20.xx

Eclipse will restart and hopefully everything should work fine for you.

这篇关于我怎样才能更新我在Eclipse ADT?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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