在Eclipse 3.7上安装Android开发工具的问题

时间:2011-10-18 03:54:43

标签: java android eclipse adt

您好我在向Eclipse 3.7添加ADT时遇到了问题我已将该站点添加到软件管理器中。我勾选“开发者工具”,然后点击下一步。我收到以下错误消息

Cannot complete the install because of a conflicting dependency.
  Software being installed: Android Development Tools 12.0.0.v201106281929-138431 (com.android.ide.eclipse.adt.feature.group 12.0.0.v201106281929-138431)
  Software currently installed: Shared profile 1.0.0.1317160468326 (SharedProfile_PlatformProfile 1.0.0.1317160468326)
  Only one of the following can be installed at once: 
    International Components for Unicode for Java (ICU4J) 4.4.2.v20110208 (com.ibm.icu 4.4.2.v20110208)
    International Components for Unicode for Java (ICU4J) 4.0.1.v20090822 (com.ibm.icu 4.0.1.v20090822)
    International Components for Unicode for Java (ICU4J) 4.0.1.v20090415 (com.ibm.icu 4.0.1.v20090415)
  Cannot satisfy dependency:
    From: Shared profile 1.0.0.1317160468326 (SharedProfile_PlatformProfile 1.0.0.1317160468326)
    To: com.ibm.icu [4.4.2.v20110208]
  Cannot satisfy dependency:
    From: Android Development Tools 12.0.0.v201106281929-138431 (com.android.ide.eclipse.adt.feature.group 12.0.0.v201106281929-138431)
    To: org.eclipse.wst.sse.ui 0.0.0
  Cannot satisfy dependency:
    From: Java EMF Model Utilities 2.0.200.v200905140200 (org.eclipse.jem.util 2.0.200.v200905140200)
    To: bundle com.ibm.icu [3.8.1.1,4.1.0)
  Cannot satisfy dependency:
    From: Java EMF Model Utilities 2.0.201.v201001252130 (org.eclipse.jem.util 2.0.201.v201001252130)
    To: bundle com.ibm.icu [3.8.1.1,4.1.0)
  Cannot satisfy dependency:
    From: Common Frameworks 1.1.300.v200904160730 (org.eclipse.wst.common.frameworks 1.1.300.v200904160730)
    To: bundle org.eclipse.jem.util [2.0.100,3.0.0)
  Cannot satisfy dependency:
    From: Structured Source Editor 1.1.101.v200908261807 (org.eclipse.wst.sse.ui 1.1.101.v200908261807)
    To: bundle org.eclipse.wst.validation [1.2.0,1.3.0)
  Cannot satisfy dependency:
    From: Structured Source Editor 1.1.102.v200910200227 (org.eclipse.wst.sse.ui 1.1.102.v200910200227)
    To: bundle org.eclipse.wst.validation [1.2.0,1.3.0)
  Cannot satisfy dependency:
    From: Validation Framework 1.2.102.v200905201610 (org.eclipse.wst.validation 1.2.102.v200905201610)
    To: bundle org.eclipse.wst.common.frameworks [1.1.200,2.0.0)
  Cannot satisfy dependency:
    From: Validation Framework 1.2.104.v200911120201 (org.eclipse.wst.validation 1.2.104.v200911120201)
    To: bundle org.eclipse.wst.common.frameworks [1.1.200,2.0.0)

任何帮助将不胜感激。

我正在运行:Eclipse 3.7 64位              Ubuntu 11.10 64位

2 个答案:

答案 0 :(得分:5)

输入

打开日食
sudo -E eclipse 

在终端中,-E选项意味着保留环境,以便它将使用当前用户的eclipse配置。

然后打开,按照正常步骤安装ADT(Android Development Toolkit)。

答案 1 :(得分:2)

使用root权限打开eclipse - >须藤