Reputation: 3412
I've had a series of problems ever since I tried to import an android project.
SDK
hasn't been set up in preferences (even though it had been before and ADT was working perfectly fine).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.
Help -> Install new software -> p2repo - https://dl-ssl.google.com/android/eclipse/ -> Check developer tools -> Next
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?
Upvotes: 10
Views: 9294
Reputation: 69
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.
Upvotes: 3
Reputation: 1230
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.
Upvotes: 4
Reputation: 56
For Sanjay Manohar:
Basically, when you downloaded eclipse, it was in a zip file. You needed to extract the files in order to use its content. The file that I downloaded was named "adt-bundle-windows-x86_64-20140321" and I got it from "https://developer.android.com/training/basics/firstapp/index.html".
If you are using eclipse, you probably have the zip file in your downloads, so no need to download it again.
If I was you, I would make a file named "ANDROID" and in it place the zip file (to use as a future backup if you have similar problems)
I would also create a folder named workspace for all my projects, and a folder named ADT in which I would extract the contents of the zip file.
This would be the folders inside "ANDROID":
-ADT (->contains the extracted files of the zip file "adt-bundle-windows-x86_64-20140321")
-workspace (->contains my projects)
-adt-bundle-windows-x86_64-20140321 (->the zip file)
Sorry for creating a new answer, I don't have the reputation...
Upvotes: 0
Reputation: 56
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.
Upvotes: 1