Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I set up Android (ADT-Plugin) for Eclipse?

I'm setting up Eclipse for Android and when attempting to install the ADT plugin, I encounter the following error:

Edit: Notice the more complete error message here.

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

I'm on Win7 x64 and using Eclipse 3.5.

What could be wrong?

EDIT:

Did I not set my Path correctly? This is what the relevant part looks like.

Path...;C:\Users\Moshe\Development\android-sdk-windows\tools

Do I need to reboot after modifying the path?

EDIT:

I am looking to install this package:

org.eclipse.wst.sse.core 0.0.0

like image 731
Moshe Avatar asked Sep 28 '10 05:09

Moshe


3 Answers

Did you go through this Installing the ADT Plugin?

  1. Start Eclipse, then select Help > Install New Software.

  2. In the Available Software dialog, click Add....1.

  3. In the Add Site dialog that appears, enter a name for the remote site (for example, "Android Plugin") in the "Name" field.2.

  4. In the "Location" field, enter this URL: https://dl-ssl.google.com/android/eclipse/

  5. Note: If you have trouble acquiring the plugin, you can try using "http" in the URL, instead of "https" (https is preferred for security reasons).4.

  6. Click OK.

  7. Back in the Available Software view, you should now see "Developer Tools" added to the list.6.

  8. Select the checkbox next to Developer Tools, which will automatically select the nested tools Android DDMS and Android Development Tools.7.

  9. Click Next.8.

  10. In the resulting Install Details dialog, the Android DDMS and Android Development Tools features are listed.9.

  11. Click Next to read and accept the license agreement and install any dependencies, then click Finish. Restart Eclipse.10.

This problem is caused because you have some plugins missing that are required by android tools. You can fix this by either installing a version of Eclipse which comes bundled with a lot of the eclipse plugins, or by tracking down the plugins yourself.

To do this, run eclipse, and go to Help->Install New software. Attempt to install the Android SDk, and you will be informed of what is missing, e.g:

*Missing requirement: Android Development Tools 0.9.6.v201002051504-24846 (com.android.ide.eclipse.adt.feature.group 0.9.6.v201002051504-24846) requires *'org.eclipse.gef 0.0.0' but it could not be found

So we need to install org.eclipse.gef . A quick Google for org.eclipse.gef, gives us www.eclipse.org/gef Follow the link, and on the left hand side you will see a link for "Update Manger", follow that link...

You then have a list of URI's similar to the one for the Android plugin. Copy the one ending in "releases"( http://download.eclipse.org/tools/gef/updates/releases/ if you can't be bothered ), and go back to eclipse. Paste this URI into the "Work with" box, as you did with the Android plugin, and install the components that come up.

Continue to do this until all of the Android dependencies are met, and the Android plugin will install. You will need to locate the correct locations for each of the required dependencies.

like image 133
UpCat Avatar answered Nov 12 '22 19:11

UpCat


Download and use "Eclipse IDE for Java EE Developers" it has all necessory dependents required by ADT Plugin.

Following setupworked for me OS : win 7 64 bit Eclipse IDE for Java EE Developers : version 3.7 (32 bit) ADT Plugin : Version 12.0.0

like image 40
tetris Avatar answered Nov 12 '22 18:11

tetris


If you use Eclipse Galileo then add http://download.eclipse.org/releases/galileo to the list of update sites. Eclipse will download most of the dependencies during ADT Plugin installation.

like image 3
Dima Avatar answered Nov 12 '22 18:11

Dima