Android:由于依赖性冲突,无法完成安装

Sun*_*Sun 27 eclipse android

我正在使用以下链接安装新软件: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]
Run Code Online (Sandbox Code Playgroud)

Sun*_*Sun 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
Run Code Online (Sandbox Code Playgroud)

并复制以下文件:

tools/hprof-conv
tools/support/annotations.jar
tools/proguard
Run Code Online (Sandbox Code Playgroud)

所以最后如果你从一个新的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
Run Code Online (Sandbox Code Playgroud)

不要尝试从以前的版本升级,因为它根本不起作用.如果你有zipalign的问题,它现在在平台工具下,不再在工具/下,所以你可以做一个符号链接或只是将它复制到预期的文件夹.

感谢@ greywolf82在这里回答:使用Android开发工具 v.23 更新Eclipse

信用转到@MarcoDuff在这里回答:由于依赖性冲突,无法完成安装