无法在eclipse上安装android开发工具

时间:2012-02-03 03:33:05

标签: android eclipse android-layout android-emulator eclipse-plugin

所以我尝试安装Android开发工具,但后来我收到了这个错误:

Cannot complete the install because of a conflicting dependency.
  Software being installed: Android Development Tools 16.0.1.v201112150204-238534 (com.android.ide.eclipse.adt.feature.group 16.0.1.v201112150204-238534)
  Software currently installed: Eclipse IDE for PHP Developers 1.3.1.20100916-1202 (epp.package.php 1.3.1.20100916-1202)
  Only one of the following can be installed at once: 
    Eclipse UI 3.7.0.I20110602-0100 (org.eclipse.ui 3.7.0.I20110602-0100)
    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 Development Tools 16.0.1.v201112150204-238534 (com.android.ide.eclipse.adt.feature.group 16.0.1.v201112150204-238534)
    To: org.eclipse.ui 3.6.2
  Cannot satisfy dependency:
    From: Eclipse IDE for PHP Developers 1.3.1.20100916-1202 (epp.package.php 1.3.1.20100916-1202)
    To: org.eclipse.epp.package.php.feature.feature.group [1.3.1.20100916-1202]
  Cannot satisfy dependency:
    From: EPP PHP Feature 1.3.1.20100916-1202 (org.eclipse.epp.package.php.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]

我做错了什么,我怎么可能解决这个错误?

3 个答案:

答案 0 :(得分:0)

你的系统中是否安装了java环境...... eclipse知道它的路径是对的吗?

答案 1 :(得分:0)

我遇到了类似的问题。我安装JDK(即时使用1.7)并尝试安装Android SDK。它工作正常。

答案 2 :(得分:0)

使用超级用户帐户在终端中启动Eclipse,然后在Eclipse中安装ADT插件: $ sudo eclipse