(一)
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
繼續安裝終於可以了