Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Failed to install Android ADT

Tags:

eclipse

adt

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.

like image 777
DJClayworth Avatar asked Jun 30 '11 01:06

DJClayworth


2 Answers

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

like image 141
vandut Avatar answered Nov 11 '22 13:11

vandut


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

like image 1
James Blackburn Avatar answered Nov 11 '22 13:11

James Blackburn