Neil Walker
Neil Walker

Reputation: 6848

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

Upvotes: 5

Views: 4410

Answers (2)

eculeus
eculeus

Reputation: 1270

I had a similar problem and spent hours trying the solutions above and those listed in https://code.google.com/p/android/issues/detail?id=60149. Nothing worked for me.

Finally, I reinstalled the eclipse plugin (Help->Install New Software-Add, and then use https://dl-ssl.google.com/android/eclipse/). This was simple and it worked. I think this was all due to a bug in eclipse that this new plugin version fixed.

(More details here: http://developer.android.com/sdk/installing/installing-adt.html)

Upvotes: 0

Anatolii Shuba
Anatolii Shuba

Reputation: 6085

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"

Upvotes: 4

Related Questions