Can't update ADT plugin in Eclipse to version 23.0.0 or above

风流意气都作罢 提交于 2019-11-27 02:30:36

问题


I am beginner in Android programming. My problem is, that I can not update ADT. The problem started, when after a long time I have updated in Android SDK Manager the Android SDK Tools. Then I was trying to import a project into the workspace. But I couldn't import that, because every time I clicked the Finish button, nothing happened. Then I closed Eclipse and opened it again, and showed me the following error:

I clicked on the Check for Updates, but it didn't find anything. On the Internet I have found an URL, so I clicked Help-->Install New Software...--> Add--> and pasted this URL. When I clicked Next, it showed me the list of items which I wanted to install and also an error:

Cannot complete the install because of a conflicting dependency.
 Software being installed: Tracer for OpenGL ES 23.0.0.1245622 (com.android.ide.eclipse.gldebugger.feature.feature.group 23.0.0.1245622)
 Software currently installed: Tracer for OpenGL ES 21.0.0.v201210310015-519525 (com.android.ide.eclipse.gldebugger.feature.group 21.0.0.v201210310015-519525)
Only one of the following can be installed at once: 
Tracer for OpenGL ES 23.0.0.1245622 (com.android.ide.eclipse.gldebugger 23.0.0.1245622)
Tracer for OpenGL ES 21.0.0.v201210310015-519525 (com.android.ide.eclipse.gldebugger 21.0.0.v201210310015-519525)
Cannot satisfy dependency:
From: Tracer for OpenGL ES 23.0.0.1245622 (com.android.ide.eclipse.gldebugger.feature.feature.group 23.0.0.1245622)
To: com.android.ide.eclipse.gldebugger [23.0.0.1245622]
Cannot satisfy dependency:
From: Tracer for OpenGL ES 21.0.0.v201210310015-519525 (com.android.ide.eclipse.gldebugger.feature.group 21.0.0.v201210310015-519525)
To: com.android.ide.eclipse.gldebugger [21.0.0.v201210310015-519525]

I have also read somewhere, that I should try to replace the plugins folder with the updated plugins folder so I tried to rename "plugins" folder in the Eclipse folder to "pluginsx" and pasted the new one I have downloaded from the site. After this I couldn't open the Eclipse.

This site is also about the same problem as I have, and there is an answer which is accepted as the solution of the question. So I tried also to download, and copy those 3 things to folders which were mentioned in the comment below, but I have still the same problem, nothing changed.

So now I don't have any idea, how to fix this problem. Can anyone help me, please?

Thanks in advance.


回答1:


Help-->Install New Software-->What is already installed?

Then, Select "Android DDMS, Andoid Devlopment Tools,Android Hierarcy Viewer, Android native Development Tools, Android Traceview, Tracer for OpenGL ES" and click Uninstall.

After all this step, try Add link (https://dl-ssl.google.com/android/eclipse/) and name is ADT Plugin. This link will get the latest ADT Plugin. In this way you reinstall the ADT.




回答2:


None of these "update" alone answers worked for me.

The solution I used is to uninstall the ADT (from Uninstalling Android ADT)

Help > About Eclipse > Installation Details

Select all of the Android modules (prefixed with com.android.ide...)

and delete them (Uninstall...) and re-add the libraries from the

help > Install new software

As listed above....




回答3:


The only solution that worked to me was to download the current Eclipse ADT bundle from the Android site

After download it, I copied my current sdk to a folder like .../development/sdk. Then I deleted the sdk that came with this new Bundle.

I put ADT Bundle in .../development/adt-bundle-.... After start it, you jave to inform the new sdk location in Window > Preferences > Android, so in SDK Location you put the new sdk path. In my case: .../development/sdk.

Of course, you can put the sdk folder inside the new ADT Bundle folder, but I do this way, because I use Android Studio as well, so I point the two IDEs to the same SDK.

After finish this and be sure everything is working I deleted the old ADT Bundle folder.




回答4:


I had the same issue and the following solution worked for me.

I had installed SDK Platform of M Preview while my ADT was of version 22. So I just uninstalled SDK Platform of M preview and installed SDK platform of API level 22 from SDK Manager.

This worked for me.




回答5:


this solution works.!!!!!!!

Open eclipse> Help>about eclipse>Installation

uninstall the component the are included to the .zip file you downloaded. download like below.

(credit to mr.zakimark

I found it simpler at times to first uninstall all the 7 components:

-Android DDMS -Andoid Devlopment Tools -Android Hierarcy Viewer -Android Native Development Tools -Android Traceview -Tracer for OpenGL ES -Google App Engine Tools for Android(If installed)

Then download the latest ZIP/Archive.

Install the Archive from Help->Install New Software->Add->Archive Select the downloaded ZIP, provide a name for it and follow the standard installation process.




回答6:


Installing ADT is a major problem specially when updating. Also sometimes it's just a pain to install ADT by providing the direct link. Often Eclipse will stall while displaying "Calculating requirements and dependencies".

I found it simpler at times to first uninstall all the 7 components:

-Android DDMS
-Andoid Devlopment Tools
-Android Hierarcy Viewer
-Android Native Development Tools
-Android Traceview
-Tracer for OpenGL ES
-Google App Engine Tools for Android(If installed)

Then download the latest ZIP/Archive.

Install the Archive from Help->Install New Software->Add->Archive
Select the downloaded ZIP, provide a name for it and follow the standard installation process.




回答7:


I couldn't uninstall the old ADT plugins from the 'Help->Installation Details` page because the 'Uninstall...' button was disabled when I selected any of the modules.

Also, because the ADT bundle is no longer available to download, reinstalling was not an option.

What worked for me was to install the basic Eclipse environment using the Eclipse Installer from here. In the installer, I selected 'Advanced Mode...' from the hamburger menu, and then selected just the 'Eclipse Platform' to install, i.e. just the core tools. I think that this is only possible using the installer.

After eclipse was installed, I installed all the ADT plugins using 'Help->Install New Software' and using link https://dl-ssl.google.com/android/eclipse/.

YMMV, but this worked for me.



来源:https://stackoverflow.com/questions/24491656/cant-update-adt-plugin-in-eclipse-to-version-23-0-0-or-above

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