When I try to install new features in Eclipse (using ADT as the base package) I get
‘Installing Software’ has encountered a problem.
An error occurred while collecting items to be installed
An error occurred while collecting items to be installed
session context was:(profile=profile, hase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=). No repository found containing: osgi.bundle,com.android.ide.eclipse.base,21.1.0.v201302060044-569685
No repository found containing: osgi.bundle,com.android.ide.eclipse.ddms,21.1.0.v201302060044-569685
No repository found containing: org.eclipse.update.feature,com.android.ide.eclipse.ddms,21.1.0.v201302060044-569685
I have installed a number of addons and I’m not sure which one might be giving the error. If anyone else has faced this error and found a solution, that would be great. Thanks.
I was able to solve it just by using 'http' instead of 'https' ( http://dl-ssl.google.com/android/eclipse/ )
The folder location it was installing the updates too, it didn't have full write permissions so I changed that and also changing the http to https. This worked for me.
This worked for me:
I found similar information and how to go about fixing it on "Android - An Open Handset Alliance Project" here is the link http://code.google.com/p/android/issues/detail?id=38267 I hope this helps you.
Another thing you can try is export your work space and re-install your eclipse. Sometimes the compatibility issue may cause this. I know this may require some work because then you have to add all of your plugins back but this might be the last option you may want to consider if you can't find a workaround or fix.
Brilliant, I was on version 21.0.1 and my Tools were on 21.1 for some reason and changing from http to https, i.e. https://dl-ssl.google.com/android/eclipse/ seemed to work and ADT downloaded and updated.
On starting Eclipse there was no error message.
Sadly, on getting to the workspace what has happened is:
Well done Eclipse the plug-in nightmare system you've created has ruined yet another installation of mine. That's, like every instance I've ever had fails when I dare to install or use a plugin.
Try changing the address of the repo from http to https or vice versa