安卓:无法完成,因为冲突的依赖安装 [英] Android : Cannot complete the install because of a conflicting dependency

查看:155
本文介绍了安卓:无法完成,因为冲突的依赖安装的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我安装新的软件,使用此链接: https://dl-ssl.google.com/android/日食/

但总是因为:操作无法完成。查看详细信息。

 无法完成,因为冲突的依赖安装。
  软件安装:安卓DDMS 23.0.2.1259578(com.android.ide.eclipse.ddms.feature.feature.group 23.0.2.1259578)
  当前已安装的软件:Android的DDMS 22.6.2.v201403212031-1085508(com.android.ide.eclipse.ddms.feature.group 22.6.2.v201403212031-1085508)
  只有以下情况之一可一次安装:
    的Dalvik调试监视器服务23.0.2.1259578(com.android.ide.eclipse.ddms 23.0.2.1259578)
    的Dalvik调试监视器服务22.6.2.v201403212031-1085508(com.android.ide.eclipse.ddms 22.6.2.v201403212031-1085508)
  无法满足依赖性:
    来自:Android的DDMS 23.0.2.1259578(com.android.ide.eclipse.ddms.feature.feature.group 23.0.2.1259578)
    要:com.android.ide.eclipse.ddms [23.0.2.1259578]
  无法满足依赖性:
    来自:Android的DDMS 22.6.2.v201403212031-1085508(com.android.ide.eclipse.ddms.feature.group 22.6.2.v201403212031-1085508)
    要:com.android.ide.eclipse.ddms [22.6.2.v201403212031-1085508]
 

解决方案

这是一个包装错误。整个ProGuard的文件丢失。我们将有一个更新尽快,但在那之前只是复制过来从这些工具的previous版本:

  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副本开始手工文件:)

编辑:用最新的ADT版本,包应现在自动更新工作,所以安装这些新版本:

  Linux的64位虚拟机:http://dl.google.com/android/adt/adt-bundle-linux-x86_64-20140702.zip
Linux的32位虚拟机: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版本升级,因为它doensn't在所有的工作。如果你有什么问题,zipalign,它现在在平台的工具,并在工具没有更多/所以你可以做一个符号链接,或只是将其复制到预期的文件夹中。

归功于@ greywolf82在这里找到答案:<一href="http://stackoverflow.com/questions/24437564/update-eclipse-with-android-development-tools-v-23">Update与Eclipse的Andr​​oid开发工具诉23

归功于@MarcoDuff在这里找到答案:<一href="http://stackoverflow.com/questions/7472966/cannot-complete-the-install-because-of-a-conflicting-dependency">Cannot完成,因为冲突的依赖安装

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]

解决方案

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

and copy over the following files:

tools/hprof-conv
tools/support/annotations.jar
tools/proguard

So at the end if you started from a new ADT copy by hand the files :)

Edit: 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

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.

credit goes to @greywolf82 answered here: Update Eclipse with Android development tools v. 23

credit goes to @MarcoDuff answered here: Cannot complete the install because of a conflicting dependency

这篇关于安卓:无法完成,因为冲突的依赖安装的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆