HiveBrain v1.2.0
Get Started
← Back to all entries
patternjavaCritical

Update Eclipse with Android development tools v. 23

Submitted by: @import:stackoverflow-api··
0
Viewed 0 times
withupdateandroidtoolsdevelopmenteclipse

Problem

I updated Eclipse with the new SDK tools (rev. 23), but now when Eclipse starts I receive the error:


This Android SDK requires Android Developer Toolkit version 23.0.0 or above. Current version is 22.6.3.v201404151837-1123206. Please update ADT to the latest version.

No updates were found with "Check for updates". If I try "Install new software", I can see version 23, but I can't upgrade due to the following error:

Cannot complete the install because of a conflicting dependency.
Software being installed: Android Development Tools 23.0.0.1245622 (com.android.ide.eclipse.adt.feature.feature.group 23.0.0.1245622)
Software currently installed: Android Developer Tools 22.2.1.v201309180102-833290 (com.android.ide.eclipse.adt.package.product 22.2.1.v201309180102-833290)
Only one of the following can be installed at once: 
    ADT Package 22.6.3.v201404151837-1123206 (com.android.ide.eclipse.adt.package 22.6.3.v201404151837-1123206)
    ADT Package 23.0.0.1245622 (com.android.ide.eclipse.adt.package 23.0.0.1245622)
Cannot satisfy dependency:
    From: Android Development Tools 23.0.0.1245622 (com.android.ide.eclipse.adt.feature.feature.group 23.0.0.1245622)
    To: com.android.ide.eclipse.adt.package [23.0.0.1245622]
Cannot satisfy dependency:
    From: Android Development Tools 22.6.3.v201404151837-1123206 (com.android.ide.eclipse.adt.feature.group 22.6.3.v201404151837-1123206)
    To: com.android.ide.eclipse.adt.package [22.6.3.v201404151837-1123206]
Cannot satisfy dependency:
    From: ADT Package 22.2.1.v201309180102-833290 (com.android.ide.eclipse.adt.package.feature.group 22.2.1.v201309180102-833290)
    To: com.android.ide.eclipse.adt.feature.group 22.2.0
Cannot satisfy dependency:
    From: Android Developer Tools 22.2.1.v201309180102-833290 (com.android.ide.eclipse.adt.package.product 22.2.1.v201309180102-833290)
    To: com.android.ide.eclipse.adt.package.feature.group [22.2.1.v201309180102-833290]


After download of the last ADT from the web site, i

Solution

Google response:

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 doesn’t work at all.
If you have got problems with zipalign, it's now under build-tools and no more under tools/ so you can do a symbolic link or just copy it into the expected folder.

Context

Stack Overflow Q#24437564, score: 115

Revisions (0)

No revisions yet.