更新与Eclipse的Android开发工具23节 [英] Update Eclipse with Android development tools v. 23
问题描述
我的Eclipse更新使用新的SDK工具(23修订版),但现在,当Eclipse启动我收到错误:
I updated Eclipse with the new SDK tools (rev 23) but now when Eclipse starts I receive the error:
这个Android的SDK需要Android开发工具包版本23.0.0或更高版本。现在的版本是22.6.3.v201404151837-1123206。请更新ADT到最新版本。
This Android SDK requires Android Developer Toolkit version 23.0.0 or above. Current version is 22.6.3.v201404151837-1123206. Please update ADT to the latest version.
被发现是检查更新否更新。如果我尝试安装新软件,我可以看到的版本23,但我不能由于以下错误升级:
No updates were found with "Check for updates". If I try "Install new software", I can see the version 23, but I can't upgrade due to the following error:
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工具转。未安装23 ProGuard的,该文件夹SDK DIR /工具/ ProGuard的
丢失和其他工具都不见了。这个版本包含了几个错误。
After download of the last ADT from the web site, it seems there's another problem.
With SDK Tools rev. 23 proguard is not installed, the folder SDK dir/tools/proguard
is missing and other tools are missing. This version contains several bugs.
推荐答案
谷歌回应:
这是一个包装错误。整个ProGuard的文件丢失。我们将有一个更新尽快,但在那之前只是复制过来从这些工具的previous版本:
- <一个href="http://dl.google.com/android/android-sdk_r22.6.2-linux.tgz">http://dl.google.com/android/android-sdk_r22.6.2-linux.tgz
- <一个href="http://dl.google.com/android/android-sdk_r22.6.2-windows.zip">http://dl.google.com/android/android-sdk_r22.6.2-windows.zip
- <一个href="http://dl.google.com/android/android-sdk_r22.6.2-macosx.zip">http://dl.google.com/android/android-sdk_r22.6.2-macosx.zip
- http://dl.google.com/android/android-sdk_r22.6.2-linux.tgz
- http://dl.google.com/android/android-sdk_r22.6.2-windows.zip
- http://dl.google.com/android/android-sdk_r22.6.2-macosx.zip
和复制了以下文件:
- 工具/ HPROF-CONV
- 工具/支持/ annotations.jar
- 工具/ ProGuard的
因此,在年底,如果你从一个新的ADT副本开始手工文件:)
So at the end if you started from a new ADT copy by hand the files :)
编辑:与最新的ADT版本,包应现在自动更新工作,所以安装这些新版本
with the latest ADT release, the bundle should now work with auto-update, so install these new versions:
- 在Linux的64位虚拟机:<一href="http://dl.google.com/android/adt/adt-bundle-linux-x86_64-20140702.zip">http://dl.google.com/android/adt/adt-bundle-linux-x86_64-20140702.zip
- 在Linux的32位虚拟机:<一href="http://dl.google.com/android/adt/adt-bundle-linux-x86-20140702.zip">http://dl.google.com/android/adt/adt-bundle-linux-x86-20140702.zip
- MAC:<一href="http://dl.google.com/android/adt/adt-bundle-mac-x86_64-20140702.zip">http://dl.google.com/android/adt/adt-bundle-mac-x86_64-20140702.zip
- Win32的:<一href="http://dl.google.com/android/adt/adt-bundle-windows-x86-20140702.zip">http://dl.google.com/android/adt/adt-bundle-windows-x86-20140702.zip
- Win64的:<一href="http://dl.google.com/android/adt/adt-bundle-windows-x86_64-20140702.zip">http://dl.google.com/android/adt/adt-bundle-windows-x86_64-20140702.zip
- 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
- win32: http://dl.google.com/android/adt/adt-bundle-windows-x86-20140702.zip
- win64: http://dl.google.com/android/adt/adt-bundle-windows-x86_64-20140702.zip
不要试图从previous版本升级,因为它不工作的。 如果你有什么问题,zipalign,这是目前正在集结的工具,并在工具没有更多/所以你可以做一个符号链接,或只是将其复制到预期的文件夹中。
Don't try to upgrade from previous version because it doesn’t work at all. If you have got problems with zipalign, it's now under build-tools and no more under tools/ so you can do a symbolic link or just copy it into the expected folder.
这篇关于更新与Eclipse的Android开发工具23节的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!