【问题标题】:Android : Cannot complete the install because of a conflicting dependency [duplicate]Android:由于依赖项冲突,无法完成安装[重复]
【发布时间】:2014-08-26 07:44:30
【问题描述】:

我正在安装新软件,使用此链接: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]

【问题讨论】:

    标签: android eclipse


    【解决方案1】:

    这是一个打包错误。整个 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 时遇到问题,它现在位于 platform-tools 下,而不再位于 tools/ 下,因此您可以创建符号链接或将其复制到预期的文件夹中。

    感谢@greywolf82 在这里回答:Update Eclipse with Android development tools v. 23

    感谢@MarcoDuff 在这里回答:Cannot complete the install because of a conflicting dependency

    【讨论】:

    • 我不明白这些步骤...你能指出我正确的方向吗,我使用的是 Mac。谢谢
    • 因为这显然在 23.0.3 中没有修复(为什么不呢?!)有人可以评论一下上面给出的捆绑地址是否仍然是正确的吗?
    猜你喜欢
    • 1970-01-01
    • 2017-06-26
    • 2011-11-20
    • 1970-01-01
    • 1970-01-01
    • 2015-03-26
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多