Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Eclipse 4.2 ADT Plugin

I'm trying to install the ADT Plugin for Eclipse and I get the following error:

Cannot complete the install because one or more required items could not be found.
  Software being installed: Android Native Development Tools 20.0.2.v201207191942-407447 (com.android.ide.eclipse.ndk.feature.group 20.0.2.v201207191942-407447)
  Missing requirement: Android Native Development Tools 20.0.2.v201207191942-407447 (com.android.ide.eclipse.ndk.feature.group 20.0.2.v201207191942-407447) requires 'org.eclipse.cdt.feature.group 0.0.0' but it could not be found

I have tried reinstalling Eclipse. Any other suggestions?

like image 928
kel_ff0080 Avatar asked Aug 06 '12 14:08

kel_ff0080


People also ask

What is Eclipse ADT plugin?

ADT extends the capabilities of Eclipse to let you quickly set up new Android projects, create an application UI, add components based on the Android Framework API, debug your applications using the Android SDK tools, and even export signed (or unsigned) APKs in order to distribute your application.

What is ADT in Android Studio?

The ADT-2 Developer Kit is a streaming media player device for running and testing apps that are built for Android TV. The information on this page explains how to set up and use the ADT-2 device. However, the ADT-2 is not required for building and testing apps for Android TV.


2 Answers

Managed to resolve this with help from this link

https://developers.google.com/eclipse/docs/faq?hl=es#wstinstallerror

  1. Select Help > Install New Software...
  2. Click the link for Available Software Sites.
  3. Ensure there is an update site named Helios. If this is not present, click Add... and enter http://download.eclipse.org/releases/helios for the Location.

Now follow the usual steps to install the ADT plugin, it should be able to automatically get the missing classes needed from the update site added above.

If you are using the most recent version of Eclipse (Juno), the update site is http://download.eclipse.org/releases/juno (so just change Helios to Juno)

Also if you see a checkbox named 'Include Update Sites', make sure it is ticked.

like image 114
Timm Avatar answered Sep 18 '22 11:09

Timm


Download this .zip file to your pc. From Install New Software, click Add then Archive and locate this .zip file on file system. Click OK and check if it is going to work.

Edit:

I guess this is a random bug with eclipe 4.2. It sometimes worked for me and other times not as to you. I suggest you use Eclipse 3.7.2 and try it again and again until it succeeds.

like image 37
Serdar Samancıoğlu Avatar answered Sep 20 '22 11:09

Serdar Samancıoğlu