我用新的SDK工具更新了Eclipse (rev. 23),但现在当Eclipse启动时,我收到了错误:

此Android SDK要求Android Developer Toolkit版本23.0.0或以上。当前版本为22.6.3.v201404151837-1123206。请更新ADT到最新版本

“检查更新”没有发现更新。如果我尝试“安装新软件”,我可以看到版本23,但由于以下错误,我无法升级:

Cannot complete the install because of a conflicting dependency.
Software being installed: Android Development Tools 23.0.0.1245622 (com.android.ide.eclipse.adt.feature.feature.group 23.0.0.1245622)
Software currently installed: Android Developer Tools 22.2.1.v201309180102-833290 (com.android.ide.eclipse.adt.package.product 22.2.1.v201309180102-833290)
Only one of the following can be installed at once: 
    ADT Package 22.6.3.v201404151837-1123206 (com.android.ide.eclipse.adt.package 22.6.3.v201404151837-1123206)
    ADT Package 23.0.0.1245622 (com.android.ide.eclipse.adt.package 23.0.0.1245622)
Cannot satisfy dependency:
    From: Android Development Tools 23.0.0.1245622 (com.android.ide.eclipse.adt.feature.feature.group 23.0.0.1245622)
    To: com.android.ide.eclipse.adt.package [23.0.0.1245622]
Cannot satisfy dependency:
    From: Android Development Tools 22.6.3.v201404151837-1123206 (com.android.ide.eclipse.adt.feature.group 22.6.3.v201404151837-1123206)
    To: com.android.ide.eclipse.adt.package [22.6.3.v201404151837-1123206]
Cannot satisfy dependency:
    From: ADT Package 22.2.1.v201309180102-833290 (com.android.ide.eclipse.adt.package.feature.group 22.2.1.v201309180102-833290)
    To: com.android.ide.eclipse.adt.feature.group 22.2.0
Cannot satisfy dependency:
    From: Android Developer Tools 22.2.1.v201309180102-833290 (com.android.ide.eclipse.adt.package.product 22.2.1.v201309180102-833290)
    To: com.android.ide.eclipse.adt.package.feature.group [22.2.1.v201309180102-833290]

从网站下载上一份ADT后,似乎又出现了一个问题。

没有安装SDK Tools rev. 23 proguard,文件夹SDK dir/ Tools /proguard丢失,其他工具也丢失。这个版本包含几个错误。


当前回答

您需要卸载旧版本并安装23

卸载: 帮助>关于Eclipse SDK >安装详细信息 选择要卸载的Android相关包

然后安装V23。

其他回答

它正在卸载旧文件,但您不必重新启动Eclipse。卸载过程结束后,安装新软件,然后重新启动Eclipse。

这很简单,对我很有用。

我已经做了以下来解决一个问题。

Go to http://developer.android.com/sdk/installing/installing-adt.html and download the latest ADT ZIP file (at the bottom of page). Go to Eclipse → menu Help → About Eclipse → Installation details Delete Android DDM, Android Development Tools, Hierarchy Viewer, Native Development Tools, TraceView, etc., 22.X version. Menu Help* → Install New Software → Add → Archive → *Select the downloaded ZIP file in step 1. Select all the latest version of all 23 which I have deleted in step 3 and accept the license agreement.

重新启动Eclipse,它就修复了我的问题。

对我来说,它有助于删除Android 4.4W,这也是API 20,可能是冲突的一个原因。所以在他们修复之前只安装Android 4.4W或Android L。

而且(这可能只对我来说)它只在Android Studio中工作,而不是在Eclipse中…

在尝试了其他答案中的方法后没有成功,我只是从http://developer.android.com/sdk/installing/index.html?pkg=adt安装了一个新的捆绑包,效果很好。

做以下几点:

As you don't want to re-download all the platforms again, copy the existing one from /OLD_ANDROID_SDK_PATH/sdk/platforms to /NEW_ANDROID_SDK_PATH/sdk/platforms. When opening the new Eclipse from the recent downloaded bundle, make sure you reuse the previous 'workspace' folder. That will ensure that all your previous settings will be remembered. After opening the new Eclipse on the previous workspace, please check if the used Android SDK is pointing to the new one (Eclipse preferences -> Android). It might be pointing to the old one, as you've reused the previews workspace settings.

通过这些步骤,您不应该重新配置所有内容,也不需要花费时间从谷歌开发人员升级时排除此BUG。

好运!: -)

基于win7。 Eclipse 版本:4.2.2 Build id: M20130204-1200

对于那些试图卸载ADT插件后破坏Eclipse的人。

你需要从插件文件夹和功能文件夹中删除所有android文件夹/jars。

然后检查/configuration中的config.ini。你可能有这些台词:

eclipse.product=

...

eclipse.application=

像这样改变它们:

eclipse.product=org.eclipse.platform.ide
eclipse.application=org.eclipse.ui.ide.workbench

可能需要从命令行运行eclipse:

eclipsec.exe -clean.

然后我可以安装最新的ADT插件,而不需要下载整个eclipse包和丢失所有配置/插件。