(一)
eclips中 安装adt插件时,如果报如下错误:
Cannot complete the install because one or more required items could not be found.
Software being installed: Android DDMS 21.1.0.v201302060044-569685 (com.android.ide.eclipse.ddms.feature.group 21.1.0.v201302060044-569685)
Missing requirement: Android DDMS 21.1.0.v201302060044-569685 (com.android.ide.eclipse.ddms.feature.group 21.1.0.v201302060044-569685) requires 'org.eclipse.ui 3.6.2' but it could not be found
只要看见类似requires 'org.eclipse.ui 3.6.2' but it could not be found 的,就说明eclipse版本低了,重新下载4.2版本的eclipse juno 再安装即可
(二)
下载新eclipse后,继续安装又出现如下错误:
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
需要安装cdt插件,路径 http://www.eclipse.org/cdt/downloads.php,找到对应的eclipse版本,像安装adt插件一样,在eclipse中安装cdt
http://download.eclipse.org/tools/cdt/releases/juno
继续安装终于可以了