Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android Development Tool 23.0.0 and Android L Update error in eclipse [duplicate]

I updated my SDK with latest release of Android L and restarted my eclipse i.e running on ADT V.22. But when I Check for update from Hep -> Check for updates, it says No updates were found.

I manually tried to download ADT bundle from official website and tried to install ADT-23.0.0.zip from Help -> Install New Software and described installation guide over site, but it gave me 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: Google App Engine Tools for Android 3.5.1.v201312301719-rel-r42 (com.google.gdt.eclipse.mobile.android.feature.feature.group 3.5.1.v201312301719-rel-r42)
  Only one of the following can be installed at once: 
    ADT XML Overlay 22.6.3.v201404151837-1123206 (overlay.com.android.ide.eclipse.adt.overlay 22.6.3.v201404151837-1123206)
    ADT XML Overlay 23.0.0.1245622 (overlay.com.android.ide.eclipse.adt.overlay 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: overlay.com.android.ide.eclipse.adt.overlay [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: overlay.com.android.ide.eclipse.adt.overlay [22.6.3.v201404151837-1123206]
  Cannot satisfy dependency:
    From: Google App Engine Tools for Android 3.5.1.v201312301719-rel-r42 (com.google.gdt.eclipse.mobile.android.feature.feature.group 3.5.1.v201312301719-rel-r42)
    To: com.android.ide.eclipse.adt.feature.group 22.0.0

And it also giving me error while I compile my exiting project that were running perfectly before update. Error is:

[2014-06-27 12:03:01 - my App] The connection to adb is down, and a severe error has occured.
[2014-06-27 12:03:01 -my App] You must restart adb and Eclipse.
[2014-06-27 12:03:01 - my App] Please ensure that adb is correctly located at 'E:\Android-sdk\adt-bundle-windows-x86_64-20130522\sdk\platform-tools\adb.exe' and can be executed.

I tired various solution provided earlier for killing adb server and restarting again using adb kill-server command.

Can anyone resolve or guide me how to build and compile my existing projects with this new SDK update in eclipse.

like image 399
Himanshu Agarwal Avatar asked Jun 27 '14 07:06

Himanshu Agarwal


3 Answers

I had the same problem and just solved it. what I did is uninstall entirely the android plugin from eclipse (from the "about" section..) including trace view..

Do not restart eclipse at this point!

then added again the ADT Plugin (https://dl-ssl.google.com/android/eclipse/)

the problem solved!

I guess it's a bug with the SDK manager or ADT Plugin update mechanism..

like image 131
Tal Kanel Avatar answered Nov 17 '22 07:11

Tal Kanel


It saves my day...!

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.

enter image description here

like image 6
Arsalan Mehmood Avatar answered Nov 17 '22 06:11

Arsalan Mehmood


I am depending on this article How to install plugin for Eclipse from .zip and I made it sorta work. still needs some fix from me. I'll update soon.

This is based on the idea of opening the ADT plugin zip file and copy it's contents by hand , an old fashioned copy-paste method. I still could not yet make it well configured, but the tools do work.

Don't forget to uninstall older ADT before doing this.

like image 1
superlinux Avatar answered Nov 17 '22 07:11

superlinux