当前位置: 代码迷 >> Eclipse >> juno版本的Eclipse无法安装ADT的异常解决方法
  详细解决方案

juno版本的Eclipse无法安装ADT的异常解决方法

热度:55   发布时间:2016-04-23 01:27:08.0
juno版本的Eclipse无法安装ADT的错误解决办法

如果eclipse用的版本是juno的,可能会出现以下问题:

Cannot complete the install because one or more required items could not be found.

  Software being installed: Android Native Development Tools 21.1.0.v201302060044-569685 (com.android.ide.eclipse.ndk.feature.group 21.1.0.v201302060044-569685)

  Missing requirement: Android Native Development Tools 21.1.0.v201302060044-569685 (com.android.ide.eclipse.ndk.feature.group 21.1.0.v201302060044-569685) requires ‘org.eclipse.cdt.feature.group 0.0.0′ but it could not be found

问题原因:

原来就是eclipse插件CDT(增加对C的支撑)丢失了

解决方法:

1. 下载地址:http://www.eclipse.org/cdt/downloads.php

我下载的是最新版本cdt-master-8.1.2.zip

2. 安装到eclipse上

步骤:Eclipse ->Help -> Install New Software -> 点击ADD添加 -> 名称填写CDT ,地址那里选择Archive,然后选择已下好的cdt-master-8.1.2.zip   -> OK下一步下一步…最后重启Eclipse

备注问题:

在安装CDT的过程中可能还会出现一种错误如下:

Cannot complete the install because one or more required items could not be found.

  Software being installed: C/C++ Remote Launch 6.0.0.201109151620 (org.eclipse.cdt.launch.remote.feature.group 6.0.0.201109151620)

  Missing requirement: C/C++ Remote Debug Launcher 2.3.0.201109151620 (org.eclipse.cdt.launch.remote 2.3.0.201109151620) requires ‘bundle org.eclipse.rse.ui [3.0.0,4.0.0)' but it could not be found

  Cannot satisfy dependency:

    From: C/C++ Remote Launch 6.0.0.201109151620 (org.eclipse.cdt.launch.remote.feature.group 6.0.0.201109151620)

    To: org.eclipse.cdt.launch.remote [2.3.0.201109151620]

解决方法:

原因是缺少了org.eclipse.rse.ui,需要单独下载RSE组件,即RSE-runtime-3.3.1.zip ,

下载地址:http://www.eclipse.org/downloads/download.php?file=/tm/downloads/drops/R-3.3.1-201109141310/RSE-runtime-3.3.1.zip

解压缩之后把features和plugins下面的文件拷贝到eclipse的对应目录下去,然后重启eclipse即可。然后再次安装CDT就可以成功完成啦


  相关解决方案