问题
I have very weird situation. I successfully updated Android SDK tools to version 22.6.1. Now when I start ADT (Eclipse), it shows me a message saying following.
This Android SDK requires Android Developer Toolkit version 22.6.1 or above.
Current version is 22.3.0.v201310242005-887826
When I press "Check for Updates" button, Eclipse shows a message saying "No updates were found" message. There is same result if I do this via Help - Check for Updates.
If I open Help - Install New Software and select Developer Tools Update Site I see new version of bundles there, but when I try to install them, Eclipse shows me another error message.
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.6.1.v201403111859-1066720
No repository found containing: osgi.bundle,com.android.ide.eclipse.adt.package,22.6.1.v201403111859-1066720
No repository found containing: osgi.bundle,com.android.ide.eclipse.base,22.6.1.v201403111859-1066720
No repository found containing: osgi.bundle,com.android.ide.eclipse.ddms,22.6.1.v201403111859-1066720
No repository found containing: osgi.bundle,com.android.ide.eclipse.gldebugger,22.6.1.v201403111859-1066720
No repository found containing: osgi.bundle,com.android.ide.eclipse.hierarchyviewer,22.6.1.v201403111859-1066720
No repository found containing: osgi.bundle,com.android.ide.eclipse.traceview,22.6.1.v201403111859-1066720
No repository found containing: osgi.bundle,overlay.com.android.ide.eclipse.adt.overlay,22.6.1.v201403111859-1066720
No repository found containing: org.eclipse.update.feature,com.android.ide.eclipse.adt,22.6.1.v201403111859-1066720
No repository found containing: org.eclipse.update.feature,com.android.ide.eclipse.ddms,22.6.1.v201403111859-1066720
No repository found containing: org.eclipse.update.feature,com.android.ide.eclipse.gldebugger,22.6.1.v201403111859-1066720
No repository found containing: org.eclipse.update.feature,com.android.ide.eclipse.hierarchyviewer,22.6.1.v201403111859-1066720
No repository found containing: org.eclipse.update.feature,com.android.ide.eclipse.traceview,22.6.1.v201403111859-1066720
I tried to download, install and upgrade a new version of ADT by taking it from the official Android site, but I face same issue.
回答1:
Please follow these steps:
Help > Install new software
Select the ADT update site.
There are two, one with
http://
and one withhttps://
If one doesn't work, try the other. HTTPS is not working change it to HTTP and it will workSelect the developer tools section and press next.
You should see a dialog that says "this software is already installed, an update will be performed instead". Clicking ok will lead to 22.6.1 being installed.
来源:https://stackoverflow.com/questions/22525178/cannot-update-adt-from-22-3-0-to-22-6-1-no-updates-were-found