Fixing Eclipse after ADT breaks

SDK Manager told me I had updates and updated me from version 21 to 22, then said I should check for updates. I'm running bundled eclipse/ADT from about last month, Juno version 4.2.1

In Eclipse when it started it confirmed this and said ADT was out of date and I should update. Running update said no new updates.

so I then tried to 'Install new software' and select http://dl-ssl.google.com/android/eclipse/, then pick the tools. I get the following error after confirming I wish to perform an update as I already have it installed.

Thanks. Why does Eclipse fall over every time a plugin installation/update is involved (well, it does for me :( )

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.0.v201305140200--675183
No repository found containing: osgi.bundle,com.android.ide.eclipse.adt.package,22.0.0.v201305140200--675183
No repository found containing: osgi.bundle,com.android.ide.eclipse.base,22.0.0.v201305140200--675183
No repository found containing: osgi.bundle,com.android.ide.eclipse.ddms,22.0.0.v201305140200--675183
No repository found containing: osgi.bundle,com.android.ide.eclipse.gldebugger,22.0.0.v201305140200--675183
No repository found containing: osgi.bundle,com.android.ide.eclipse.hierarchyviewer,22.0.0.v201305140200--675183
No repository found containing: osgi.bundle,com.android.ide.eclipse.traceview,22.0.0.v201305140200--675183
No repository found containing: osgi.bundle,overlay.com.android.ide.eclipse.adt.overlay,22.0.0.v201305140200--675183
No repository found containing: org.eclipse.update.feature,com.android.ide.eclipse.adt,22.0.0.v201305140200--675183
No repository found containing: org.eclipse.update.feature,com.android.ide.eclipse.ddms,22.0.0.v201305140200--675183
No repository found containing: org.eclipse.update.feature,com.android.ide.eclipse.gldebugger,22.0.0.v201305140200--675183
No repository found containing: org.eclipse.update.feature,com.android.ide.eclipse.hierarchyviewer,22.0.0.v201305140200--675183
No repository found containing: org.eclipse.update.feature,com.android.ide.eclipse.traceview,22.0.0.v201305140200--675183

Solution 1:

  • Manually download zip and then intent of URL use that zip. details are mention here . http://developer.android.com/sdk/installing/installing-adt.html#Troubleshooting
  • Help > Install New Software -- then choose the link..Select the updates to install and then crucially, uncheck "Contact all update sites during install to find required software".

Solution 2:

Just change location address from http:// to https://

Go To Eclipse menu Window -> Preferences then Install/Update -> Available Software sites, select "Android Developer Tools Update Site" and click "Edit"