Android:由于依赖关系冲突,无法完成安装 [英] Android : Cannot complete the install because of a conflicting dependency
问题描述
我正在使用以下链接安装新的软件: https://dl-ssl.google.com/android/ eclipse /
I am installing new softwares, using this link : https://dl-ssl.google.com/android/eclipse/
但总是得到:操作无法完成。查看详细信息。
but always getting: The operation cannot be completed. see the details.
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]
推荐答案
这是一个包装错误。整个proguard文件丢失。我们将有一个更新asap,但直到之后才从以前版本的工具复制:
This is a packaging bug. The entire proguard file is missing. We'll have an update asap, but until then just copy it over from a previous version of the tools:
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副本手动启动文件:)
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 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有问题,那么现在它已经处于平台工具之下,没有更多的工具,所以你可以做一个象征性的链接,或者把它复制到预期的文件夹中。
Don't try to upgrade from previous version because it doensn't work at all. If you have got problems with zipalign, it's now under platform-tools and no more under tools/ so you can do a symbolic link or just copy it into the expected folder.
信用到@ greywolf82在这里回答:使用Android开发工具更新Eclipse v 。23
credit goes to @greywolf82 answered here: Update Eclipse with Android development tools v. 23
信用到@MarcoDuff在这里回答:由于相互依赖的冲突,无法完成安装
credit goes to @MarcoDuff answered here: Cannot complete the install because of a conflicting dependency
这篇关于Android:由于依赖关系冲突,无法完成安装的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!