我正在使用以下链接安装新软件:https://dl-ssl.google.com/android/eclipse/
但总是得到:操作无法完成。看详情。
Cannot complete the install because of a conflicting dependency.
Software being installed: Android DDMS 23.0.2.1259578 (com.android.ide.eclipse.ddms.feature.feature.group 23.0.2.1259578)
Software currently installed: Android DDMS 22.6.2.v201403212031-1085508 (com.android.ide.eclipse.ddms.feature.group 22.6.2.v201403212031-1085508)
Only one of the following can be installed at once:
Dalvik Debug Monitor Service 23.0.2.1259578 (com.android.ide.eclipse.ddms 23.0.2.1259578)
Dalvik Debug Monitor Service 22.6.2.v201403212031-1085508 (com.android.ide.eclipse.ddms 22.6.2.v201403212031-1085508)
Cannot satisfy dependency:
From: Android DDMS 23.0.2.1259578 (com.android.ide.eclipse.ddms.feature.feature.group 23.0.2.1259578)
To: com.android.ide.eclipse.ddms [23.0.2.1259578]
Cannot satisfy dependency:
From: Android DDMS 22.6.2.v201403212031-1085508 (com.android.ide.eclipse.ddms.feature.group 22.6.2.v201403212031-1085508)
To: com.android.ide.eclipse.ddms [22.6.2.v201403212031-1085508]
答案 0 :(得分:12)
这是一个包装错误。缺少整个proguard文件。我们会尽快进行更新,但在此之前,只需将其从以前版本的工具中复制出来:
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
并复制以下文件:
tools/hprof-conv
tools/support/annotations.jar
tools/proguard
所以最后如果你手工开始使用新的ADT副本文件:)
编辑:使用最新的ADT版本,该捆绑包现在应该使用自动更新,因此请安装这些新版本:
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
不要尝试从以前的版本升级,因为它根本不起作用。如果你有zipalign的问题,它现在在平台工具下,不再在工具/下,你可以做一个符号链接或只是将它复制到预期的文件夹。
归功于@ greywolf82在这里回答:Update Eclipse with Android development tools v. 23
积分转到@MarcoDuff回答:Cannot complete the install because of a conflicting dependency