Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Trying to update ADT - receiving "conflicting dependency" error

I've had a series of problems ever since I tried to import an android project.

  1. The location of my SDK hasn't been set up in preferences (even though it had been before and ADT was working perfectly fine).
  2. When I try to set the path to the sdk folder, it says

    This Android SDK requires Android Developer Toolkit version 23.0.0 or above. Current version is 22.6.2.v201403212031-1085508. Please update ADT to the latest version.

  3. So I try to update Eclipse by the following as suggested on another SO post (since "Check for updates" keeps telling me that there are no updates available:

    Help -> Install new software -> p2repo - https://dl-ssl.google.com/android/eclipse/ -> Check developer tools -> Next

And that's where I get the following error:
Cannot complete the install because of a conflicting dependency.
Software being installed: Android Native Development Tools 23.0.2.1259578 (com.android.ide.eclipse.ndk.feature.feature.group 23.0.2.1259578)
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: 
ADT CDT Integration 23.0.2.1259578 (com.android.ide.eclipse.ndk 23.0.2.1259578)
ADT CDT Integration 22.6.2.v201403212031-1085508 (com.android.ide.eclipse.ndk 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.ndk.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 Native Development Tools 23.0.2.1259578 (com.android.ide.eclipse.ndk.feature.feature.group 23.0.2.1259578)
To: com.android.ide.eclipse.ndk [23.0.2.1259578]

Cannot satisfy dependency:
From: Android Native Development Tools 22.6.2.v201403212031-1085508  (com.android.ide.eclipse.ndk.feature.group 22.6.2.v201403212031-1085508)
To: com.android.ide.eclipse.ndk [22.6.2.v201403212031-1085508]

How can I successfully get around these errors and update eclipse?

like image 455
u3l Avatar asked Jul 09 '14 06:07

u3l


3 Answers

Uninstall all the conflicting components. In my case, Open-GL, DDMS, ADT etc were conflicting with the update. So i uninstalled all of these, using..

Help-> About Eclipse SDK->Installation details-> select the component to uninstall-> uninstall

Then update your ADT.

Help->Install New software-> Select the Adt update site(https://dl-ssl.google.com/android/eclipse/ if not present add it) in available s/w sites. And update the ADT.

like image 43
priya Avatar answered Nov 10 '22 23:11

priya


Just uninstall current ADT version is 22.6.2.v201403212031-1085508 by going to Help>Installation Details> installed software and then select ADT(old version)> click uninstall. Now reinstall latest ADT. This way, I was able to update ADT to current version, hope it helps. Note: This won't work on adt-bundle.

like image 160
The_ehT Avatar answered Nov 10 '22 23:11

The_ehT


TODAY, I got the same error as you:

This Android SDK requires Android Developer Toolkit version 23.0.0 or above. Current version is 22.6.2.v201403212031-1085508. Please update ADT to the latest version.

YOUR MESSAGE:

This Android SDK requires Android Developer Toolkit version 23.0.0 or above. Current version is 22.6.2.v201403212031-1085508. Please update ADT to the latest version.

I fixed it in 5 minutes:

1-Make sure you still have the zip file (me it's "adt-bundle-windows-x86_64-20140321")

2-Copy the contents of the zip where you want it to be

3-It's like 1.30 GB (I think), so depending on your computer it could take a few minutes

4-Once it's copied, open it.

5-Go in the eclipse folder, then open the eclipse application (you can even pin it to the taskbar if you use it a lot)

I had this problem a few times, and this always works for me.

like image 1
Lightshadow Avatar answered Nov 10 '22 23:11

Lightshadow