Cannot update ADT from 22.3.0. to 22.6.1, no updates were found [duplicate]

被刻印的时光 ゝ 提交于 2019-12-03 08:35:23

问题


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:

  1. Help > Install new software

  2. Select the ADT update site.

    There are two, one with http:// and one with https:// If one doesn't work, try the other. HTTPS is not working change it to HTTP and it will work

  3. Select the developer tools section and press next.

  4. 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

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!