无法将ADT插件更新到版本23.0.0或以上版本?

时间:2021-05-22 07:25:27

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:

我是Android编程的初学者。我的问题是,我不能更新ADT。问题开始了,在很久以后我更新了Android SDK管理器Android SDK工具。然后我试图将一个项目导入到工作区中。但是我不能导入它,因为每次我点击Finish按钮时,什么都没有发生。然后我关闭Eclipse并再次打开它,并向我展示了以下错误:

无法将ADT插件更新到版本23.0.0或以上版本?

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:

我点击了查看更新,但是没有找到任何东西。在互联网上我找到了一个URL,所以我点击了Help——>安装了新的软件…->添加—>并粘贴此URL。当我点击Next时,它显示了我想要安装的项目列表和一个错误:

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.

我也在某个地方读到过,我应该尝试用更新的插件文件夹替换plugins文件夹,所以我尝试将Eclipse文件夹中的“plugins”文件夹重命名为“pluginsx”,并粘贴我从该站点下载的新文件夹。在这之后,我无法打开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.

这个网站的问题和我的一样,并且有一个答案被接受作为问题的解决方案。所以我也尝试下载,并将这3件东西复制到下面评论中提到的文件夹中,但是我仍然有同样的问题,没有任何改变。

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

所以现在我不知道如何解决这个问题。有人能帮我吗?

Thanks in advance.

提前谢谢。

7 个解决方案

#1


34  

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.

然后,选择“Android DDMS、Andoid Devlopment工具、Android Hierarcy查看器、Android原生开发工具、Android Traceview、OpenGL ES的跟踪器”,然后单击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.

在所有这些步骤之后,尝试添加链接(https://dl-ssl.google.com/android/eclipse/)和名字是ADT插件。这个链接将获得最新的ADT插件。这样就可以重新安装ADT。

#2


9  

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

这些“更新”中没有一个是对我有用的。

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

我使用的解决方案是卸载ADT(从卸载Android ADT)

Help > About Eclipse > Installation Details

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

选择所有的Android模块(使用com.android.ide…)

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

然后删除它们(卸载…)并重新添加库。

help > Install new software

As listed above....

正如上面列出的....

#3


1  

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

我唯一的解决方案就是从Android站点下载当前的Eclipse ADT包。

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.

下载后,我将我当前的sdk复制到一个类似于…/开发/sdk的文件夹中。然后我删除了这个新包附带的sdk。

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.

我把ADT Bundle放在…/development/ ADT - Bundle中启动后,您将在windows>首选项> Android中通知新的sdk位置,因此在sdk位置上放置新的sdk路径。在我的例子中:…/开发/ 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.

当然,您可以将sdk文件夹放入新的ADT Bundle文件夹中,但是我这样做,因为我也使用Android Studio,所以我将两个ide指向同一个sdk。

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

完成此操作后,确保一切正常,我删除了旧的ADT Bundle文件夹。

#4


0  

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.

我已经安装了M预览版SDK平台,而ADT是第22版。所以我刚刚卸载了M预览版SDK平台,并在SDK管理器上安装了API level 22的SDK平台。

This worked for me.

这为我工作。

#5


0  

this solution works.!!!!!!!

这个解决方案工作原理。! ! ! ! ! ! !

Open eclipse> Help>about eclipse>Installation

打开eclipse >关于eclipse Help > >安装

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

将组件卸载到下载的.zip文件中。下面的下载等。

(credit to mr.zakimark

(信贷mr.zakimark

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

我发现在第一次卸载所有7个组件时,它更简单:

-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)

-Android DDMS -Andoid Devlopment工具-Android应用程序-Android原生开发工具-Android Traceview -追踪OpenGL ES -谷歌的Android应用引擎工具(如果安装)

Then download the latest ZIP/Archive.

然后下载最新的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.

安装档案从帮助->安装新软件->添加->档案选择下载的ZIP,为它提供一个名称并遵循标准安装过程。

#6


0  

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".

安装ADT是一个主要的问题,特别是在更新时。有时通过提供直接链接来安装ADT也是一种痛苦。在显示“计算需求和依赖关系”时,Eclipse常常会失速。

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

我发现在第一次卸载所有7个组件时,它更简单:

-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)

-Android DDMS -Andoid Devlopment工具-Android应用程序-Android原生开发工具-Android Traceview -追踪OpenGL ES -谷歌的Android应用引擎工具(如果安装)

Then download the latest ZIP/Archive.

然后下载最新的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.

安装档案从帮助->安装新软件->添加->档案选择下载的ZIP,为它提供一个名称并遵循标准安装过程。

#7


0  

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.

我无法从“帮助->安装细节”页面卸载旧的ADT插件,因为“卸载…”当我选择任何一个模块时,按钮被禁用。

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

另外,由于ADT bundle已经无法下载,所以重新安装不是一个选项。

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.

我的工作是在这里使用Eclipse安装程序安装基本的Eclipse环境。在安装程序中,我选择了“高级模式……”从“汉堡包”菜单上,然后选择“Eclipse平台”来安装,也就是核心工具。我认为这只可能使用安装程序。

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/.

安装完eclipse后,我使用“Help->安装新软件”安装了所有ADT插件,并使用link https://dl-ssl.google.com/android/eclipse/。

YMMV, but this worked for me.

YMMV,但这对我很有效。

#1


34  

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.

然后,选择“Android DDMS、Andoid Devlopment工具、Android Hierarcy查看器、Android原生开发工具、Android Traceview、OpenGL ES的跟踪器”,然后单击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.

在所有这些步骤之后,尝试添加链接(https://dl-ssl.google.com/android/eclipse/)和名字是ADT插件。这个链接将获得最新的ADT插件。这样就可以重新安装ADT。

#2


9  

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

这些“更新”中没有一个是对我有用的。

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

我使用的解决方案是卸载ADT(从卸载Android ADT)

Help > About Eclipse > Installation Details

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

选择所有的Android模块(使用com.android.ide…)

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

然后删除它们(卸载…)并重新添加库。

help > Install new software

As listed above....

正如上面列出的....

#3


1  

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

我唯一的解决方案就是从Android站点下载当前的Eclipse ADT包。

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.

下载后,我将我当前的sdk复制到一个类似于…/开发/sdk的文件夹中。然后我删除了这个新包附带的sdk。

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.

我把ADT Bundle放在…/development/ ADT - Bundle中启动后,您将在windows>首选项> Android中通知新的sdk位置,因此在sdk位置上放置新的sdk路径。在我的例子中:…/开发/ 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.

当然,您可以将sdk文件夹放入新的ADT Bundle文件夹中,但是我这样做,因为我也使用Android Studio,所以我将两个ide指向同一个sdk。

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

完成此操作后,确保一切正常,我删除了旧的ADT Bundle文件夹。

#4


0  

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.

我已经安装了M预览版SDK平台,而ADT是第22版。所以我刚刚卸载了M预览版SDK平台,并在SDK管理器上安装了API level 22的SDK平台。

This worked for me.

这为我工作。

#5


0  

this solution works.!!!!!!!

这个解决方案工作原理。! ! ! ! ! ! !

Open eclipse> Help>about eclipse>Installation

打开eclipse >关于eclipse Help > >安装

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

将组件卸载到下载的.zip文件中。下面的下载等。

(credit to mr.zakimark

(信贷mr.zakimark

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

我发现在第一次卸载所有7个组件时,它更简单:

-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)

-Android DDMS -Andoid Devlopment工具-Android应用程序-Android原生开发工具-Android Traceview -追踪OpenGL ES -谷歌的Android应用引擎工具(如果安装)

Then download the latest ZIP/Archive.

然后下载最新的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.

安装档案从帮助->安装新软件->添加->档案选择下载的ZIP,为它提供一个名称并遵循标准安装过程。

#6


0  

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".

安装ADT是一个主要的问题,特别是在更新时。有时通过提供直接链接来安装ADT也是一种痛苦。在显示“计算需求和依赖关系”时,Eclipse常常会失速。

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

我发现在第一次卸载所有7个组件时,它更简单:

-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)

-Android DDMS -Andoid Devlopment工具-Android应用程序-Android原生开发工具-Android Traceview -追踪OpenGL ES -谷歌的Android应用引擎工具(如果安装)

Then download the latest ZIP/Archive.

然后下载最新的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.

安装档案从帮助->安装新软件->添加->档案选择下载的ZIP,为它提供一个名称并遵循标准安装过程。

#7


0  

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.

我无法从“帮助->安装细节”页面卸载旧的ADT插件,因为“卸载…”当我选择任何一个模块时,按钮被禁用。

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

另外,由于ADT bundle已经无法下载,所以重新安装不是一个选项。

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.

我的工作是在这里使用Eclipse安装程序安装基本的Eclipse环境。在安装程序中,我选择了“高级模式……”从“汉堡包”菜单上,然后选择“Eclipse平台”来安装,也就是核心工具。我认为这只可能使用安装程序。

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/.

安装完eclipse后,我使用“Help->安装新软件”安装了所有ADT插件,并使用link https://dl-ssl.google.com/android/eclipse/。

YMMV, but this worked for me.

YMMV,但这对我很有效。