我现在已经和它斗争了几个小时了。我已从此链接下载了适用于Java EE开发人员的Eclipse IDE:http://www.eclipse.org/downloads/packages/eclipse-ide-java-ee-developers/heliossr1
以下是我尝试安装ADT插件时收到的消息:
Cannot complete the install because of a conflicting dependency.
Software being installed: Android Hierarchy Viewer 16.0.1.v201112150204-238534 (com.android.ide.eclipse.hierarchyviewer.feature.group 16.0.1.v201112150204-238534)
Software currently installed: Eclipse IDE for Java EE Developers 1.3.1.20100916-1202 (epp.package.jee 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 Hierarchy Viewer 16.0.1.v201112150204-238534 (com.android.ide.eclipse.hierarchyviewer.feature.group 16.0.1.v201112150204-238534)
To: org.eclipse.ui 3.6.2
Cannot satisfy dependency:
From: Eclipse IDE for Java EE Developers 1.3.1.20100916-1202 (epp.package.jee 1.3.1.20100916-1202)
To: org.eclipse.epp.package.jee.feature.feature.group [1.3.1.20100916-1202]
Cannot satisfy dependency:
From: Java EE IDE Feature 1.3.1.20100916-1202 (org.eclipse.epp.package.jee.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]
答案 0 :(得分:2)
一次只能安装以下其中一项
在“安装新软件”窗口中,取消选中“在安装期间联系所有更新站点以查找所需软件”,然后继续添加ADT插件。确保您拥有Eclipse Helios Service Release 2(3.6.2)或更高版本。只有Helios SR2或更高版本支持最新版本的ADT插件。
答案 1 :(得分:0)
Java Plain是首选安装,不要安装Java EE。
答案 2 :(得分:0)
如果您使用Eclipse进行Java EE,则无关紧要。这是我经常使用的版本,因为我喜欢Java EE透视图。您安装了哪个版本的SDK?老实说,因为Eclipse是一个独立的可执行文件,我只是尝试下载一个新版本的Indigo,因为没有安装程序,只是从那里开始。另外,您安装了哪个版本的JDK?我从未尝试过使用Java 7的Android