【发布时间】:2014-03-20 06:33:45
【问题描述】:
我的情况很奇怪。我成功地将 Android SDK 工具更新到了 22.6.1 版本。现在,当我启动 ADT (Eclipse) 时,它会显示一条消息,说明如下。
This Android SDK requires Android Developer Toolkit version 22.6.1 or above.
Current version is 22.3.0.v201310242005-887826
当我按下“检查更新”按钮时,Eclipse 会显示一条消息“未找到更新”消息。如果我通过 Help - Check for Updates 执行此操作,结果相同。
如果我打开帮助 - 安装新软件并选择开发者工具更新站点,我会在那里看到新版本的捆绑包,但是当我尝试安装它们时,Eclipse 会显示另一条错误消息。
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
我尝试从 Android 官方网站下载、安装和升级新版本的 ADT,但我遇到了同样的问题。
【问题讨论】:
-
也许你们需要更换镜头或其他东西 :-) 哈哈,这是完全不同的问题。仅供参考