我用新的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丢失,其他工具也丢失。这个版本包含几个错误。
他们是这么说的
好了,伙计们,很抱歉给你们带来这么多麻烦,我们为混乱的发布道歉。总结如下:
There is no way to update an existing ADT bundle that you might have downloaded.
You can do one of two options:
Install Eclipse from eclipse.org and install ADT by pointing to the update site: https://dl-ssl.google.com/android/eclipse
Download bundles from here:
Linux 64-bit VM: http://dl.google.com/android/adt/adt-bundle-linux-x86_64-20140702.zip
Linux 32-bit VM: http://dl.google.com/android/adt/adt-bundle-linux-x86-20140702.zip
Mac: http://dl.google.com/android/adt/adt-bundle-mac-x86_64-20140702.zip
Windows 32-bit: http://dl.google.com/android/adt/adt-bundle-windows-x86-20140702.zip
Windows 64-bit: http://dl.google.com/android/adt/adt-bundle-windows-x86_64-20140702.zip
从ADT bundle 23.0.2开始,您应该能够更新到ADT的未来版本。
来源:https://code.google.com/p/android/issues/detail?id=72912
基于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包和丢失所有配置/插件。
他们是这么说的
好了,伙计们,很抱歉给你们带来这么多麻烦,我们为混乱的发布道歉。总结如下:
There is no way to update an existing ADT bundle that you might have downloaded.
You can do one of two options:
Install Eclipse from eclipse.org and install ADT by pointing to the update site: https://dl-ssl.google.com/android/eclipse
Download bundles from here:
Linux 64-bit VM: http://dl.google.com/android/adt/adt-bundle-linux-x86_64-20140702.zip
Linux 32-bit VM: http://dl.google.com/android/adt/adt-bundle-linux-x86-20140702.zip
Mac: http://dl.google.com/android/adt/adt-bundle-mac-x86_64-20140702.zip
Windows 32-bit: http://dl.google.com/android/adt/adt-bundle-windows-x86-20140702.zip
Windows 64-bit: http://dl.google.com/android/adt/adt-bundle-windows-x86_64-20140702.zip
从ADT bundle 23.0.2开始,您应该能够更新到ADT的未来版本。
来源:https://code.google.com/p/android/issues/detail?id=72912