当前位置: 代码迷 >> Eclipse >> Eclipse3.6.2装配ADT插件失败
  详细解决方案

Eclipse3.6.2装配ADT插件失败

热度:100   发布时间:2016-04-23 12:59:34.0
Eclipse3.6.2安装ADT插件失败
在eclipse-SDK-3.6.2-win32版本中安装android所需的ADT插件时所产生的bug。因为在eclipse-SDK-3.6.2-win32中缺少所需的插件安装不上android所需的ADT插件以下是在安装过程中长生的bug以及解决方案如下:

①  当没有导入插件的时候是直接导入android所需的ADT插件时产生的bug:

Cannot complete the install because one or more required items could not be found.
  Software being installed: Android Development Tools 10.0.0.v201102162101-104271 (com.android.ide.eclipse.adt.feature.group 10.0.0.v201102162101-104271)
  Missing requirement: Android Development Tools 10.0.0.v201102162101-104271 (com.android.ide.eclipse.adt.feature.group 10.0.0.v201102162101-104271) requires 'org.eclipse.gef 0.0.0' but it could not be found

原因:由于缺少org.eclipse.gef所以要到eclipse官方网站下载GEF-SDK-3.6.2插件。

②  导入完插件GEF-SDK-3.6.2的再导入android所需的ADT插件时产生的bug:

Cannot complete the install because one or more required items could not be found.
  Software being installed: Android Development Tools 10.0.0.v201102162101-104271 (com.android.ide.eclipse.adt.feature.group 10.0.0.v201102162101-104271)
  Missing requirement: Android Development Tools 10.0.0.v201102162101-104271 (com.android.ide.eclipse.adt.feature.group 10.0.0.v201102162101-104271) requires 'org.eclipse.wst.sse.core 0.0.0' but it could not be found

原因:由于缺少org.eclipse.wst.sse.core到官方网站下载wst插件但是wst插件属于wtp插件中所以下载wtp-sdk-S-3.3.0插件并加载到eclipse中。

③  导入完wtp-sdk-S-3.3.0插件然后在导入android所需的ADT插件时产生的bug:

Cannot complete the install because one or more required items could not be found.
  Software being installed: Android Development Tools 10.0.0.v201102162101-104271 (com.android.ide.eclipse.adt.feature.group 10.0.0.v201102162101-104271)
  Missing requirement: Structured Source Editor 1.3.0.v201103081945 (org.eclipse.wst.sse.ui 1.3.0.v201103081945) requires 'bundle org.eclipse.emf.common [2.4.0,3.0.0)' but it could not be found
  Cannot satisfy dependency:
    From: Android Development Tools 10.0.0.v201102162101-104271 (com.android.ide.eclipse.adt.feature.group 10.0.0.v201102162101-104271)
To: org.eclipse.wst.sse.ui 0.0.0

原因:由于缺少org.eclipse.emf.common插件下载emf-xsd-SDK-2.6.1插件并加载到eclipse中.再导入android所需的ADT插件就会成功了。

所需要以上的eclipse插件可以到下面的官网去下载:

http://archive.eclipse.org/webtools/downloads/drops/R2.0/R-2.0.1-20070926042742/
在上面的地址下载的插件不能导入eclipse中只能解压后导入到eclipse相应的文件中。
  相关解决方案