【问题标题】:Can't update Eclipse ADT to 22无法将 Eclipse ADT 更新到 22
【发布时间】:2013-05-16 10:43:02
【问题描述】:

我想将我的项目导出到 Android Studio,但 Eclipse 没有更新...

到目前为止,我已经added a s in http to the url of the update source,移动了ADT outside Program Files,删除了所有文件上的“只读”标志,updated the sdk and all the new components,但是当我寻找更新时,Eclipse 没有找到任何东西,如果我安装“ Android Developer Tools”通过“安装新软件”,弹出这个长长的错误日志。

有什么想法或建议您再次下载 ADT?

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,org.eclipse.ant.launching,1.0.200.v20120530-1204
No repository found containing: osgi.bundle,org.eclipse.ant.ui,3.5.301.v20121210-210948
No repository found containing: osgi.bundle,org.eclipse.emf.edit,2.8.0.v20130125-0826
No repository found containing: osgi.bundle,org.eclipse.jdt,3.8.1.v201302041200
No repository found containing: osgi.bundle,org.eclipse.jdt.apt.core,3.3.500.v20120522-1651
No repository found containing: osgi.bundle,org.eclipse.jdt.apt.pluggable.core,1.0.400.v20120522-1651
No repository found containing: osgi.bundle,org.eclipse.jdt.apt.ui,3.3.300.v20120522-1651
No repository found containing: osgi.bundle,org.eclipse.jdt.compiler.apt,1.0.600.v20130116-050536
No repository found containing: osgi.bundle,org.eclipse.jdt.compiler.tool,1.0.200.v20130116-050536
No repository found containing: osgi.bundle,org.eclipse.jdt.core,3.8.3.v20130121-145325
No repository found containing: osgi.bundle,org.eclipse.jdt.core.manipulation,1.5.0.v20120523-1543
No repository found containing: osgi.bundle,org.eclipse.jdt.debug,3.7.101.v20120913-153601
No repository found containing: osgi.bundle,org.eclipse.jdt.debug.ui,3.6.100.v20120530-1425
No repository found containing: osgi.bundle,org.eclipse.jdt.doc.user,3.8.2.v20130121-200410
No repository found containing: osgi.bundle,org.eclipse.jdt.junit,3.7.100.v20120523-1543
No repository found containing: osgi.bundle,org.eclipse.jdt.junit.core,3.7.100.v20120523-1257
No repository found containing: osgi.bundle,org.eclipse.jdt.junit.runtime,3.4.301.v20120914-131016
No repository found containing: osgi.bundle,org.eclipse.jdt.junit4.runtime,1.1.200.v20120523-1257
No repository found containing: osgi.bundle,org.eclipse.jdt.launching,3.6.101.v20130111-183046
No repository found containing: osgi.bundle,org.eclipse.jdt.ui,3.8.2.v20130107-165834
No repository found containing: osgi.bundle,org.eclipse.wst.common.frameworks,1.2.200.v201203141800
No repository found containing: osgi.bundle,org.eclipse.wst.common.frameworks.ui,1.2.201.v201208292200
No repository found containing: osgi.bundle,org.eclipse.wst.common.modulecore,1.2.201.v201301092200
No repository found containing: osgi.bundle,org.eclipse.wst.common.modulecore.ui,1.0.201.v201208241600
No repository found containing: osgi.bundle,org.eclipse.wst.common.project.facet.core,1.4.300.v201111030424
No repository found containing: osgi.bundle,org.eclipse.wst.common.snippets,1.2.200.v201204260225
No repository found containing: osgi.bundle,org.eclipse.wst.common.uriresolver,1.2.0.v201203071939
No repository found containing: osgi.bundle,org.eclipse.wst.dtd.core,1.1.600.v201205171933
No repository found containing: osgi.bundle,org.eclipse.wst.dtd.ui,1.0.700.v201203081826
No repository found containing: osgi.bundle,org.eclipse.wst.internet.cache,1.0.600.v201203071939
No repository found containing: osgi.bundle,org.eclipse.wst.sse.core,1.1.702.v201301241617
No repository found containing: osgi.bundle,org.eclipse.wst.sse.ui,1.3.102.v201301162301
No repository found containing: osgi.bundle,org.eclipse.wst.standard.schemas,1.0.501.v201301091615
No repository found containing: osgi.bundle,org.eclipse.wst.validation,1.2.402.v201212031633
No repository found containing: osgi.bundle,org.eclipse.wst.validation.ui,1.2.400.v201204260100
No repository found containing: osgi.bundle,org.eclipse.wst.xml.core,1.1.702.v201301101836
No repository found containing: osgi.bundle,org.eclipse.wst.xml.ui,1.1.302.v201301172222
No repository found containing: osgi.bundle,org.eclipse.wst.xsd.core,1.1.700.v201204102147
No repository found containing: osgi.bundle,org.eclipse.wst.xsd.ui,1.2.500.v201203081826
No repository found containing: osgi.bundle,org.junit,4.10.0.v4_10_0_v20120426-0900
No repository found containing: osgi.bundle,org.junit4,4.8.1.v20120523-1257
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: osgi.bundle,org.eclipse.jdt.annotation,1.0.1.v20130111-135246
No repository found containing: org.eclipse.update.feature,org.eclipse.jdt,3.8.2.v20130116-090414-8-8nFu3FNOfwKLRuqgXKIy9z0I83
No repository found containing: binary,org.eclipse.jdt_root,3.8.2.v20130116-090414-8-8nFu3FNOfwKLRuqgXKIy9z0I83
No repository found containing: org.eclipse.update.feature,org.eclipse.wst.common_core.feature,3.4.2.v201212051536-7B7EFMVF7RZHOkJkNwS4TV
No repository found containing: org.eclipse.update.feature,org.eclipse.wst.common_ui.feature,3.4.2.v201212051536-7C7AFeFEdhOaweLhCnQfylKlOxT5UW
No repository found containing: org.eclipse.update.feature,org.eclipse.wst.xml_core.feature,3.4.2.v201211061806-7C7OFm9F7RZHQVHiOz-P0Up
No repository found containing: org.eclipse.update.feature,org.eclipse.wst.xml_ui.feature,3.4.2.v201211061806-7H7GFeJDxumUrsn5qkiQgOEhsz0p60HAmPyU6VX

【问题讨论】:

  • 是的,您需要再次从developer.android.com/sdk/index.html 下载 ADT 包,此包包含 SDK 和 Eclipse
  • 这真的没有必要,存储库系统的全部意义在于提供更新。可能某处服务器发生故障。
  • 查看 CRUSADER 发布的解决方案。位置是:stackoverflow.com/a/16603961。它对我有用。
  • laalto 的回答对我有用——更新站点需要是 https 而不是 http
  • 我已经尝试过 [laalto 的建议][1],并且为我工作! [1]:stackoverflow.com/a/16589558/2684718

标签: android eclipse adt


【解决方案1】:

我使用 SDK 管理器和使用 Eclipse 的“检查更新”的 ADT 插件将我的工具更新为 r22。由于某种原因,我仍然有:

此 Android SDK 需要 Android Developer Toolkit 版本 22.0.0 或更高版本

我通过使用 Eclipse 的“安装新软件”功能并使用 https://dl-ssl.google.com/android/eclipse/ 作为 repo URL 重新安装 Eclipse ADT 插件解决了这个问题。

【讨论】:

  • 谢谢!这行得通。我猜“https”有所作为。 Deses,您可能想将其更改为 https 并尝试一次。
  • 今天的一位同事在问题中遇到了与@Deses 相同的错误,在重新启动 Eclipse 后,他收到了此答案中的错误消息。解决方法是一样的。
  • 这就是答案。我遇到了三次这个问题,三次这是解决方案
【解决方案2】:

您可以直接下载ADT22.zip

【讨论】:

  • 好的,我尝试安装将存档添加为源并安装开发人员工具,并且发生了类似的错误......似乎我无法更新它。 ://
  • 我再试一次(我仍然有旧的安装文件夹),当我卸载它时,会弹出另一个长错误日志。它只是坏了。 :(
【解决方案3】:

好吧,我只是厌倦了摆弄 Eclipse,所以我完全删除了它并重新安装了所需的管道和故事的结尾,我很厌烦 Eclipse 每次我必须更新它时都会破坏我。

所以最简单快捷的方法是重新安装。有时,试图解决问题是徒劳的。

【讨论】:

  • 这里也一样,完全擦除和重新安装是唯一有效的方法。是的,这种情况发生的频率真的越来越可笑了。
  • 兄弟拥抱 希望当 Android Studio 变得更好并退出 alpha 时,它将成为 Eclipse 的可靠替代品,现在我无法使用它。 (另外,我需要教程,因为我不知道该怎么做)
【解决方案4】:

我也遵循了步骤 1、2、3、4... 但如上所述,这对我不起作用,直到我在安装对话框中取消选中“安装期间联系所有更新站点以查找所需软件”时做了“安装新软件”。

【讨论】:

    【解决方案5】:

    希望这个问题早已得到解决。 在使用 Ubuntu 12.10 将我的 ADT 21 更新到 22 时,我遇到了类似的问题

    我刚刚以 SUPERUSER 身份从命令行启动了 ADT,然后尝试了同样的操作:
    帮助 > 安装新软件 > ADT 更新站点 瞧,问题就解决了。

    【讨论】:

      【解决方案6】:

      寻求帮助,安装新软件并从下拉列表中选择 Android 开发者工具,它旁边还有 https://dl-ssl.google.com/android/eclipse/ 链接。之后选择将出现在下方的更新。

      然后单击下一步,选择接受并完成。 这将下载更新。

      或 或者,通过提供名称并将 url 指定为 https://dl-ssl.google.com/android/eclipse/

      ,像最初一样再次添加 ADT

      希望它有效!

      【讨论】:

        【解决方案7】:

        要添加到已接受的答案,这对我不起作用,直到我在“安装新软件”时在“安装”对话框中取消选中“在安装期间联系所有更新站点以查找所需的软件”。

        【讨论】:

          【解决方案8】:

          取消选中“在安装过程中联系所有更新站点以查找所需软件”。 见:Can not install Android ADT 21.1 on eclipse Juno (Windows 7) after upadate to SDK 21.1

          【讨论】:

            【解决方案9】:

            我遇到了同样的问题,以下步骤对我有用: 1.退出日食 2.以管理员身份运行eclipse 3.去帮忙,安装新软件 4. 从下拉列表中选择(或直接粘贴此链接): https://dl-ssl.google.com/android/eclipse/ 5. 单击下一步并按照其他说明进行操作。

            这将下载更新。现在,重新启动广告。

            【讨论】:

              【解决方案10】:

              我认为 eclipse 的问题。以前你下载的 android sdk 管理器包。这是真正的意思,请您下载 superate ecplise 并安装和使用现有的 sdk。你的问题会解决的

              【讨论】:

                猜你喜欢
                • 2014-08-24
                • 2014-04-08
                • 1970-01-01
                • 1970-01-01
                • 1970-01-01
                • 1970-01-01
                • 1970-01-01
                • 1970-01-01
                • 1970-01-01
                相关资源
                最近更新 更多