25

I'm trying to install the ADT to Eclipse Indigo (32 bit). It consistently fails with the following message:

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

Software currently installed: Shared profile 1.0.0.1308118821836 (SharedProfile_epp.package.java 1.0.0.1308118821836)

Missing requirement: Shared profile 1.0.0.1308118821836 (SharedProfile_epp.package.java 1.0.0.1308118821836) requires 'org.maven.ide.eclipse [1.0.0.20110607-2117]' but it could not be found

I've tried reinstalling the ADT and the Android SDK, and Eclipse, without any luck. None of the other questions on this site seem relevant. I'm wondering if it's related to the migration of M2Eclipse from Sonotype to Eclipse, but I can't find anything.

EDIT:In order to explain why the answer accepted worked, I was installing on Windows 7 Home to an account that did have Admin permission and no password. However Win7 still prompts for the Admin password when you do something that needs Admin permission, even though the account has that permission and the password is empty. It seems that the ADT installation fails even under those circumstances. When I install to a non-Admin area it works.

DJClayworth
  • 26,349
  • 9
  • 53
  • 79

4 Answers4

40

Try running Eclipse as Super/Admin User, or move Eclipse installation somewhere with write permissions.

This answer helped a lot: Error (in GTK?) when trying to install EclipseXul plugin

Community
  • 1
  • 1
vandut
  • 580
  • 6
  • 7
  • 8
    Just allow write/modify for All Users, like i did on "C:\Program Files\eclipse" folder. Simple. No need to run as admin user. – vandut Aug 30 '11 at 15:52
  • 1
    on osx, moved the eclipse from the apps to my home folder and it worked. very weird eclipse behavior indeed. – Eli Konky Nov 14 '11 at 09:14
  • I wish I could upvote this twice. Lesson learned, from now on check StackOverflow first before following advice of some random forum thread! – Spencer Ruport Nov 26 '11 at 10:04
1

Technically this is an Eclipse bug, fixed in the next release. The central shared install needn't be writable to run eclipse (it should just install additional plugins into the user's cascaded configuration). See also: https://bugs.eclipse.org/bugs/show_bug.cgi?id=350645

James Blackburn
  • 4,492
  • 2
  • 27
  • 24
1

In linux, making the whole eclipse directory writable to the world solves this problem. Assuming that the eclipse is installed in /opt/eclipse:

#chmod -R 777 /opt/eclipse 
DigCamara
  • 5,540
  • 4
  • 36
  • 47
Nardos
  • 11
  • 1
0

I ran into this error on Ubuntu 11.04 after having installed Eclipse 3.5 via the package manager, removed it, and then installed 3.7 manually. It was a result of some leftover bits of the previous version. Here's what I did to fix it, more or less: (NOTE: this will wipe your Eclipse configuration!). If you use a nonstandard workspace location, adjust the path in the second line.

sudo apt-get purge eclipse-platform libecj-java eclipse libequinox-osgi-java
rm -rf ~/.eclipse ~/workspace/.metadata
Walter Mundt
  • 24,753
  • 5
  • 53
  • 61