尝试将 ADT 插件安装到 Eclipse 中时存在冲突的依赖关系

2022-01-15 00:00:00 dependencies plugins android eclipse adt

这是我的规格:日食:3.5.2ADT 插件:11.0.0电脑:Windows 7

到目前为止,我已经安装了 Android SDK 和 Eclipse.但是,当我尝试将 ADT 插件安装到 eclipse 中时,出现以下错误:

<块引用>

由于依赖项冲突,无法完成安装.正在安装的软件:Android 开发工具

11.0.0.v201105251008-128486 (com.android.ide.eclipse.adt.feature.group11.0.0.v201105251008-128486)当前安装的软件:Eclipse SDK 3.5.2.M20100211-1343(org.eclipse.sdk.ide3.5.2.M20100211-1343)一次只能安装以下其中一项:核心运行时 3.6.0.v20100505 (org.eclipse.core.runtime3.6.0.v20100505)核心运行时 3.5.0.v20090525 (org.eclipse.core.runtime3.5.0.v20090525)不能满足依赖:来自:Android开发工具11.0.0.v201105251008-128486(com.android.ide.eclipse.adt.feature.group11.0.0.v201105251008-128486)至:org.eclipse.wst.sse.core 0.0.0不能满足依赖:来自:EMF Common 2.6.0.v20100614-1136 (org.eclipse.emf.common2.6.0.v20100614-1136)至:捆绑 org.eclipse.core.runtime [3.6.0,4.0.0)不能满足依赖:来自:EMF Common 2.6.0.v20100914-1218 (org.eclipse.emf.common2.6.0.v20100914-1218)至:捆绑 org.eclipse.core.runtime [3.6.0,4.0.0)不能满足依赖:来自:Eclipse 平台 3.5.2.R35x_v20100210-0800-9hEiFzmFst-TiEn9hNYgDWg1XN8ulH_JvCNGB (org.eclipse.platform.feature.group3.5.2.R35x_v20100210-0800-9hEiFzmFst-TiEn9hNYgDWg1XN8ulH_JvCNGB)至:org.eclipse.rcp.feature.group[3.5.2.R35x_v20100119-9SA0FxwFnoCU5XxWItFdXXb27BA6]不能满足依赖:来自:Eclipse RCP 3.5.2.R35x_v20100119-9SA0FxwFnoCU5XxWItFdXXb27BA6(org.eclipse.rcp.feature.group3.5.2.R35x_v20100119-9SA0FxwFnoCU5XxWItFdXXb27BA6)至:org.eclipse.core.runtime [3.5.0.v20090525]不能满足依赖:来自:Eclipse 项目 SDK 3.5.2.R35x_v20100119-7Q7bARBPWUHM_CSjz-8bF1f7_n8rLSyWHoiKoyxBQSGT4(org.eclipse.sdk.feature.group3.5.2.R35x_v20100119-7Q7bARBPWUHM_CSjz-8bF1f7_n8rLSyWHoiKoyxBQSGT4)至:org.eclipse.platform.feature.group[3.5.2.R35x_v20100210-0800-9hEiFzmFst-TiEn9hNYgDWg1XN8ulH_JvCNGB]不能满足依赖:来自:Eclipse SDK 3.5.2.M20100211-1343 (org.eclipse.sdk.ide3.5.2.M20100211-1343)至:org.eclipse.sdk.feature.group[3.5.2.R35x_v20100119-7Q7bARBPWUHM_CSjz-8bF1f7_n8rLSyWHoiKoyxBQSGT4]不能满足依赖:来自:结构化源代码模型 1.1.500.v201006020308 (org.eclipse.wst.sse.core1.1.500.v201006020308)至:捆绑 org.eclipse.emf.common [2.4.0,3.0.0)不能满足依赖:来自:结构化源代码模型 1.1.502.v201008311901 (org.eclipse.wst.sse.core1.1.502.v201008311901)至:捆绑 org.eclipse.emf.common [2.4.0,3.0.0)不能满足依赖:来自:结构化源模型 1.1.504.v201102160550 (org.eclipse.wst.sse.core1.1.504.v201102160550)致:捆绑 org.eclipse.emf.common [2.4.0,3.0.0)

有什么建议吗?我看过一些关于重新安装 eclipse 的帖子,但我不太愿意这样做,因为一开始就很难找到 64 位版本.

如果您想建议重新安装 eclipse,如果您找到 Windows 64 位版本的下载链接,我将不胜感激.谢谢 :)

或者如果您知道如何直接修复此错误,那将非常有帮助:D

解决方案

貌似最新的 ADT 版本需要 Eclipse Helios (3.6).这似乎很奇怪,因为我找不到该要求的记录位置.

您可以尝试获取一个新的 Eclipse 版本.您也可以获取早期的 ADT 版本,但我找不到那个版本.

Here are my specs: Eclipse: 3.5.2 ADT plugin: 11.0.0 PC: Windows 7

So far, I've installed the Android SDK and Eclipse. However when I attempt to install the ADT plugin into eclipse I get the following error:

Cannot complete the install because of a conflicting dependency.
  Software being installed: Android Development Tools

11.0.0.v201105251008-128486 (com.android.ide.eclipse.adt.feature.group 11.0.0.v201105251008-128486) Software currently installed: Eclipse SDK 3.5.2.M20100211-1343 (org.eclipse.sdk.ide 3.5.2.M20100211-1343) Only one of the following can be installed at once: Core Runtime 3.6.0.v20100505 (org.eclipse.core.runtime 3.6.0.v20100505) Core Runtime 3.5.0.v20090525 (org.eclipse.core.runtime 3.5.0.v20090525) Cannot satisfy dependency: From: Android Development Tools 11.0.0.v201105251008-128486 (com.android.ide.eclipse.adt.feature.group 11.0.0.v201105251008-128486) To: org.eclipse.wst.sse.core 0.0.0 Cannot satisfy dependency: From: EMF Common 2.6.0.v20100614-1136 (org.eclipse.emf.common 2.6.0.v20100614-1136) To: bundle org.eclipse.core.runtime [3.6.0,4.0.0) Cannot satisfy dependency: From: EMF Common 2.6.0.v20100914-1218 (org.eclipse.emf.common 2.6.0.v20100914-1218) To: bundle org.eclipse.core.runtime [3.6.0,4.0.0) Cannot satisfy dependency: From: Eclipse Platform 3.5.2.R35x_v20100210-0800-9hEiFzmFst-TiEn9hNYgDWg1XN8ulH_JvCNGB (org.eclipse.platform.feature.group 3.5.2.R35x_v20100210-0800-9hEiFzmFst-TiEn9hNYgDWg1XN8ulH_JvCNGB) To: org.eclipse.rcp.feature.group [3.5.2.R35x_v20100119-9SA0FxwFnoCU5XxWItFdXXb27BA6] Cannot satisfy dependency: From: Eclipse RCP 3.5.2.R35x_v20100119-9SA0FxwFnoCU5XxWItFdXXb27BA6 (org.eclipse.rcp.feature.group 3.5.2.R35x_v20100119-9SA0FxwFnoCU5XxWItFdXXb27BA6) To: org.eclipse.core.runtime [3.5.0.v20090525] Cannot satisfy dependency: From: Eclipse Project SDK 3.5.2.R35x_v20100119-7Q7bARBPWUHM_CSjz-8bF1f7_n8rLSyWHoiKoyxBQSGT4 (org.eclipse.sdk.feature.group 3.5.2.R35x_v20100119-7Q7bARBPWUHM_CSjz-8bF1f7_n8rLSyWHoiKoyxBQSGT4) To: org.eclipse.platform.feature.group [3.5.2.R35x_v20100210-0800-9hEiFzmFst-TiEn9hNYgDWg1XN8ulH_JvCNGB] Cannot satisfy dependency: From: Eclipse SDK 3.5.2.M20100211-1343 (org.eclipse.sdk.ide 3.5.2.M20100211-1343) To: org.eclipse.sdk.feature.group [3.5.2.R35x_v20100119-7Q7bARBPWUHM_CSjz-8bF1f7_n8rLSyWHoiKoyxBQSGT4] Cannot satisfy dependency: From: Structured Source Model 1.1.500.v201006020308 (org.eclipse.wst.sse.core 1.1.500.v201006020308) To: bundle org.eclipse.emf.common [2.4.0,3.0.0) Cannot satisfy dependency: From: Structured Source Model 1.1.502.v201008311901 (org.eclipse.wst.sse.core 1.1.502.v201008311901) To: bundle org.eclipse.emf.common [2.4.0,3.0.0) Cannot satisfy dependency: From: Structured Source Model 1.1.504.v201102160550 (org.eclipse.wst.sse.core 1.1.504.v201102160550) To: bundle org.eclipse.emf.common [2.4.0,3.0.0)

Any suggestions? I've seen a few posts about re-installing eclipse, but that's something i'm not comfortable with doing because it was such a pain to find the 64-bit version in the first place.

If you want to suggest re-installing eclipse, i'd greatly appreciate it if you found the download link for the windows 64-bit version. thx :)

or if you know how to fix this error directly that would be really helpful :D

解决方案

It looks like the latest ADT version requires Eclipse Helios (3.6). That seems odd since I can't find where that requirement is documented.

You could try getting a new Eclipse version. You could also grab an earlier ADT version, though I'm having trouble finding that.

相关文章