【问题标题】:Cannot update ADT from 22.3.0. to 22.6.1, no updates were found [duplicate]无法从 22.3.0 更新 ADT。到 22.6.1,没有发现更新 [重复]
【发布时间】: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,但我遇到了同样的问题。

【问题讨论】:

  • 也许你们需要更换镜头或其他东西 :-) 哈哈,这是完全不同的问题。仅供参考

标签: android adt


【解决方案1】:

请按以下步骤操作:

  1. 帮助 > 安装新软件

  2. 选择 ADT 更新站点。

    有两个,一个是http://,一个是https:// 如果一个不起作用,试试另一个。 HTTPS 不起作用将其更改为 HTTP 它将起作用

  3. 选择开发人员工具部分,然后按下一步。

  4. 您应该会看到一个对话框,显示“此软件已安装,将改为执行更新”。单击确定将导致安装 22.6.1

【讨论】:

  • 非常感谢!我的 https 条目不可见 - 启用该条目并改为选择此站点后,更新有效!奇怪的错误!
  • 我在这个愚蠢的错误上浪费了几个小时,我不希望有人重新发明轮子。很高兴您节省了时间:)
  • https 为我工作。救了我的培根谢谢
  • HTTPS 对我有用,而 HTTP 不是。
  • 我注意到更新的工具有可怕的错误,每次打开布局时它都会加载 SDK,填满你的 ram,你必须重新启动它。它 90% 的时间不显示像 imageview 等项目的属性。可能时间 aapt.exe 崩溃了......嗯,如果开发人员不会遇到 Eclipse 问题,他们将不会切换到 Gradle:p
猜你喜欢
  • 1970-01-01
  • 1970-01-01
  • 2015-08-29
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2014-10-07
  • 2014-08-22
  • 1970-01-01
相关资源
最近更新 更多