An error occurred while collecting items to be installed
Asked Answered
F

6

12

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
Fagin answered 28/8, 2013 at 9:13 Comment(3)
restart eclipse and try one more timeIdzik
Just Do one thing... Restart Eclipse.........Mcquillin
for a generic solution to No repository found containing: osgi.bundle,... check this particular answer: https://mcmap.net/q/99363/-what-to-do-about-eclipse-39-s-quot-no-repository-found-containing-quot-error-messagesAcidulent
T
26

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.

Temporary answered 28/8, 2013 at 12:55 Comment(1)
wow it actually worked. I'm left wondering exactly why these strange problems occur and why this solution workedFuhrman
K
15

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.

Kohima answered 18/3, 2014 at 9:16 Comment(0)
A
8

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/

Akers answered 31/8, 2013 at 13:50 Comment(1)
With this it will be more understandable: 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.Kutenai
J
2

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.

Judoka answered 27/11, 2013 at 4:24 Comment(0)
A
0

Try 1)changing "https:" to "http:" or vise versa 2)Uncheck “Contact all update sites during install to find required software”

If both the solutions don't work then manually update the ADT :: 1) Uninstall ADT using the link 2) Reinstall the ADT by Help -> Install New Software

Arlyn answered 13/8, 2014 at 15:7 Comment(0)
C
-1

If you are still unable to use Eclipse to download the ADT plugin as a remote update site, you can download the ADT zip file to your local machine and manually install it:

http://dl.google.com/android/ADT-22.6.0.zip
1 .Download the ADT Plugin zip file (do not unpack it):
2. Start Eclipse, then select Help > Install New Software.
3. Click Add, in the top-right corner.
4. In the Add Repository dialog, click Archive.
5. Select the downloaded ADT-22.6.0.zip file and click OK.
6. Enter "ADT Plugin" for the name and click OK.
7. In the Available Software dialog, select the checkbox next to Developer Tools and click Next.
8. In the next window, you'll see a list of the tools to be downloaded. Click Next.
9. Read and accept the license agreements, then click Finish.
10. If you get a security warning saying that the authenticity or validity of the software can't be established, click OK.

When the installation completes, restart Eclipse.

Carrington answered 15/3, 2014 at 5:28 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.