Android ADT 23 Update - Cannot complete the install because of a conflicting dependency

落花浮王杯 提交于 2019-11-30 11:55:46

问题


First, ADT update errors are frequently asked but I have tried to do everything mentioned in those other Question-threads but no success (with https and without, ADT23.zip download too).

This is what I got when trying to update:

Cannot complete the install because of a conflicting dependency.
  Software being installed: Android DDMS 23.0.0.1245622 (com.android.ide.eclipse.ddms.feature.feature.group 23.0.0.1245622)
  Software currently installed: Android Developer Tools 22.6.2.v201403212031-1085508 (com.android.ide.eclipse.adt.package.product 22.6.2.v201403212031-1085508)
  Only one of the following can be installed at once: 
    Dalvik Debug Monitor Service 23.0.0.1245622 (com.android.ide.eclipse.ddms 23.0.0.1245622)
    Dalvik Debug Monitor Service 22.6.2.v201403212031-1085508 (com.android.ide.eclipse.ddms 22.6.2.v201403212031-1085508)
  Cannot satisfy dependency:
    From: ADT Package 22.6.2.v201403212031-1085508 (com.android.ide.eclipse.adt.package.feature.group 22.6.2.v201403212031-1085508)
    To: com.android.ide.eclipse.ddms.feature.group 22.6.2
  Cannot satisfy dependency:
    From: Android Developer Tools 22.6.2.v201403212031-1085508 (com.android.ide.eclipse.adt.package.product 22.6.2.v201403212031-1085508)
    To: com.android.ide.eclipse.adt.package.feature.group [22.6.2.v201403212031-1085508]
  Cannot satisfy dependency:
    From: Android DDMS 23.0.0.1245622 (com.android.ide.eclipse.ddms.feature.feature.group 23.0.0.1245622)
    To: com.android.ide.eclipse.ddms [23.0.0.1245622]
  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]

How can I solve this?


回答1:


I was facing the same issue and resolved it by uninstalling the previous version of ADT completely and then installing the new version.

Try it out.




回答2:


It works for me :)

If for some reason you installed an ADT preview and need to revert back to the current stable, you can't use the dialog to install "new" software since what you want is actually an older one. Instead do this:

  • Open Help > About Eclipse... on Windows or Linux. On Mac, use the app's menu > About...
  • Click the "Installation Details" button.
  • Select the "Installation History" tab.
  • Select one of the previous configurations.
  • Click the "Revert" button at the bottom.




回答3:


I downloaded Eclipse Luna without ADT. This is important.

Depending on where you saved your workspace and what version of eclipse you were using before a pop up might come up saying that it will migrate to Eclipse Luna etc2. I chose to migrate to Luna.

I then went to help -> install new software and added the ADT plugin via https://dl-ssl.google.com/android/eclipse.

I have run my app I was developing on ADT 22.xx and it runs fine on the emulator and my own nexus 5.

I hope this helps.....




回答4:


I was using Eclipse Luna. I downloaded SDK 23. Then when I read ADT 23 released I was excited. I downloaded it too. But I relised it has many errors. I couldn't do anything with eclipse. I thought the other one, ADT 22 was good.

So I started to use Kepler again. I install SDK 22.6.2 and ADT 22.6.2 too. I am happy now. I have no errors anymore.

If it is running, do not touch it!




回答5:


You have to Update your Google ADT to the Latest Version!

In Eclipse go to Help

Install New Software ---> Add

inside Add Repository write:

https://dl-ssl.google.com/android/eclipse/

Double click in the opening Box the 1 entry.

Follow the Eclipse instructions.

After loading some time you will get the newest Developer Tools and NDK Plugins

Repeat this for 2 times

Tom



来源:https://stackoverflow.com/questions/24445367/android-adt-23-update-cannot-complete-the-install-because-of-a-conflicting-dep

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!