Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

An error occurred while collecting items to be installed

When I tried to update my Android SDK, I got the following errors. What should I do?

An error occurred while collecting items to be installed
session context was:(profile=profile, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
No repository found containing: osgi.bundle,com.android.ide.eclipse.adt,22.0.5.v201307292155--757759
No repository found containing: osgi.bundle,com.android.ide.eclipse.adt.package,22.0.5.v201307292155--757759
No repository found containing: osgi.bundle,com.android.ide.eclipse.base,22.0.5.v201307292155--757759
No repository found containing: osgi.bundle,com.android.ide.eclipse.ddms,22.0.5.v201307292155--757759
No repository found containing: osgi.bundle,com.android.ide.eclipse.gldebugger,22.0.5.v201307292155--757759
No repository found containing: osgi.bundle,com.android.ide.eclipse.hierarchyviewer,22.0.5.v201307292155--757759
No repository found containing: osgi.bundle,com.android.ide.eclipse.traceview,22.0.5.v201307292155--757759
No repository found containing: osgi.bundle,overlay.com.android.ide.eclipse.adt.overlay,22.0.5.v201307292155--757759
No repository found containing: org.eclipse.update.feature,com.android.ide.eclipse.adt,22.0.5.v201307292155--757759
No repository found containing: org.eclipse.update.feature,com.android.ide.eclipse.ddms,22.0.5.v201307292155--757759
No repository found containing: org.eclipse.update.feature,com.android.ide.eclipse.gldebugger,22.0.5.v201307292155--757759
No repository found containing: org.eclipse.update.feature,com.android.ide.eclipse.hierarchyviewer,22.0.5.v201307292155--757759
No repository found containing: org.eclipse.update.feature,com.android.ide.eclipse.traceview,22.0.5.v201307292155--757759
like image 933
Yuma Yanagisawa Avatar asked Aug 28 '13 09:08

Yuma Yanagisawa


4 Answers

I just had this issue... and I went back into Window->Preferences->Install/Update and for the setting of the update site for android/eclipse I changed it back from http to https.

Previously I had errors updating the IDE and believed I had changed this to http because other postings had suggested that... and that previously fixed my update issue.

Now with the latest Android / Eclipse IDE code... it appears the https is working and needed.

like image 183
lepert Avatar answered Nov 11 '22 15:11

lepert


For me, this was solved this applying the fix that frogman suggests here.

The answer:

Uncheck “Contact all update sites during install to find required software”

The checkbox mentioned there is in the dialog that shows up when you hit "Install new software".

Found this answer through espinchi's answer here.

like image 43
ThomasW Avatar answered Nov 11 '22 13:11

ThomasW


Agree with the above.

In fact you can get this from the official websites: http://developer.android.com/sdk/installing/installing-adt.html

In the Add Repository dialog that appears, enter "ADT Plugin" for the Name and the following URL for the Location: https://dl-ssl.google.com/android/eclipse/

like image 29
Weili Zhao Avatar answered Nov 11 '22 13:11

Weili Zhao


In my case, I had already been using http for a few years (after https wouldn't work) so changing back to https solved it for me.

like image 44
iamgeef Avatar answered Nov 11 '22 14:11

iamgeef