简体   繁体   English

安装eclipse的android插件时安装失败。

[英]installation fail when installing the android plugin for eclipse..

 Cannot complete the install because of a conflicting dependency.
  Software being installed: Android Traceview 16.0.1.v201112150204-238534 (com.android.ide.eclipse.traceview.feature.group 16.0.1.v201112150204-238534)
  Software currently installed: Eclipse IDE for Java Developers 1.3.1.20100916-1202 (epp.package.java 1.3.1.20100916-1202)
  Only one of the following can be installed at once: 
    Eclipse UI 3.6.1.M20100826-1330 (org.eclipse.ui 3.6.1.M20100826-1330)
    Eclipse UI 3.6.2.M20110203-1100 (org.eclipse.ui 3.6.2.M20110203-1100)
    Eclipse UI 3.6.0.I20100603-1100 (org.eclipse.ui 3.6.0.I20100603-1100)
  Cannot satisfy dependency:
    From: Android Traceview 16.0.1.v201112150204-238534 (com.android.ide.eclipse.traceview.feature.group 16.0.1.v201112150204-238534)
    To: org.eclipse.ui 3.6.2
  Cannot satisfy dependency:
    From: Eclipse IDE for Java Developers 1.3.1.20100916-1202 (epp.package.java 1.3.1.20100916-1202)
    To: org.eclipse.epp.package.java.feature.feature.group [1.3.1.20100916-1202]
  Cannot satisfy dependency:
    From: EPP Java Package 1.3.1.20100916-1202 (org.eclipse.epp.package.java.feature.feature.group 1.3.1.20100916-1202)
    To: org.eclipse.platform.feature.group [3.6.1.r361_v20100909-9gF78GrkFqw7GrsZnvz0JWNTeb6fue6896L]
  Cannot satisfy dependency:
    From: Eclipse Platform 3.6.1.r361_v20100909-9gF78GrkFqw7GrsZnvz0JWNTeb6fue6896L (org.eclipse.platform.feature.group 3.6.1.r361_v20100909-9gF78GrkFqw7GrsZnvz0JWNTeb6fue6896L)
    To: org.eclipse.rcp.feature.group [3.6.1.r361_v20100827-9OArFLdFjY-ThSQXmKvKz0_T]
  Cannot satisfy dependency:
    From: Eclipse RCP 3.6.1.r361_v20100827-9OArFLdFjY-ThSQXmKvKz0_T (org.eclipse.rcp.feature.group 3.6.1.r361_v20100827-9OArFLdFjY-ThSQXmKvKz0_T)
    To: org.eclipse.ui [3.6.1.M20100826-1330]

May be you are doing something wrong. 可能是您做错了什么。 below are the basic steps. 以下是基本步骤。

Start Eclipse, then select Help > Install New Software.... 启动Eclipse,然后选择“帮助”>“安装新软件”。

Click Add, in the top-right corner. 单击右上角的添加。

In the Add Repository dialog that appears, enter "ADT Plugin" for the Name and the following URL for the Location: 在出现的“添加存储库”对话框中,输入“ ADT插件”作为“名称”,并输入以下URL作为“位置”:

https://dl-ssl.google.com/android/eclipse/ https://dl-ssl.google.com/android/eclipse/

Click OK 点击确定

Note: If you have trouble acquiring the plugin, try using "http" in the Location URL, instead of "https" (https is preferred for security reasons). 注意:如果您在获取插件时遇到问题,请尝试在位置URL中使用“ http”而不是“ https”(出于安全原因,首选使用https)。

In the Available Software dialog, select the checkbox next to Developer Tools and click Next. 在“可用软件”对话框中,选中“开发人员工具”旁边的复选框,然后单击“下一步”。

In the next window, you'll see a list of the tools to be downloaded. 在下一个窗口中,您将看到要下载的工具的列表。 Click Next. 点击下一步。 Read and accept the license agreements, then click Finish. 阅读并接受许可协议,然后单击“完成”。 Note: If you get a security warning saying that the authenticity or validity of the software can't be established, click OK. 注意:如果收到安全警告,提示无法确定软件的真实性或有效性,请单击“确定”。

When the installation completes, restart Eclipse. 安装完成后,重新启动Eclipse。

You can also read more here http://developer.android.com/sdk/eclipse-adt.html 您还可以在此处阅读更多内容http://developer.android.com/sdk/eclipse-adt.html

It looks to me like you are trying to install the plugin on a base Eclipse system that is too old to support it. 在我看来,您似乎正在尝试在太旧的基础Eclipse系统上安装插件而无法支持它。 Check the prerequisites / dependencies listed in the documentation for the specific version of the plugin that you are trying to install. 检查文档中列出的先决条件/依赖项,以获取您要安装的特定版本的插件。

It is also possible that there is a dependency conflict with another plugin that you've installed previously. 也可能与您先前安装的另一个插件存在依赖性冲突。


The simple solution is to start with a clean, up-to-date Eclipse base install (with no 3rd party plugins), and add the Android plugin to that. 一个简单的解决方案是从一个干净的,最新的Eclipse基本安装开始(没有第三方插件),然后向其中添加Android插件。 Then add the other plugins, if you want to take the risk. 如果您要冒险,请添加其他插件。

In my experience, it is a good idea to create a backup copy of your Eclipse installation before you start adding plugins ... just in case something goes wrong. 以我的经验,最好在开始添加插件之前创建Eclipse安装的备份副本,以防万一出问题。 And take notes of what plugins / versions you are install from where, in case you need to repeat the process in the future. 并记下您从哪里安装了什么插件/版本,以防将来需要重复此过程。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM