【问题标题】:Fixing Eclipse after ADT breaksADT 中断后修复 Eclipse
【发布时间】:2013-05-17 07:36:21
【问题描述】:

SDK 管理器告诉我有更新并将我从版本 21 更新到 22,然后说我应该检查更新。我从上个月开始运行捆绑的 eclipse/ADT,Juno 版本 4.2.1

在 Eclipse 中,当它启动时确认了这一点,并说 ADT 已过时,我应该更新。运行更新表示没有新的更新。

然后我尝试“安装新软件”并选择http://dl-ssl.google.com/android/eclipse/,然后选择工具。在确认我希望执行更新后,我收到以下错误,因为我已经安装了它。

谢谢。为什么每次涉及插件安装/更新时 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.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,com.android.ide.eclipse.gldebugger,22.0.0.v201305140200--675183
No repository found containing: osgi.bundle,com.android.ide.eclipse.hierarchyviewer,22.0.0.v201305140200--675183
No repository found containing: osgi.bundle,com.android.ide.eclipse.traceview,22.0.0.v201305140200--675183
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: org.eclipse.update.feature,com.android.ide.eclipse.gldebugger,22.0.0.v201305140200--675183
No repository found containing: org.eclipse.update.feature,com.android.ide.eclipse.hierarchyviewer,22.0.0.v201305140200--675183
No repository found containing: org.eclipse.update.feature,com.android.ide.eclipse.traceview,22.0.0.v201305140200--675183

【问题讨论】:

  • 你使用的是哪个版本的eclipse
  • 我刚刚更新,我正在运行从上个月开始捆绑的 eclipse/adt,Juno。版本 4.2.1。似乎每次我在任何版本的 Eclipse 中触摸一个插件时,它都会崩溃:(
  • 只是更新帮助-->安装新软件--> download.eclipse.org/releases/juno
  • 哪个选项,有几百个
  • 根据你的包名

标签: android eclipse-plugin adt


【解决方案1】:

【讨论】:

  • 是的,我知道这种感觉,我的同事在Juno版本中通常会观察到它。不知道具体为什么?? :(
  • 谢谢,这行得通,当我将它指向dl-ssl.google.com/android/eclipse 时,为什么使用 zip 可以让我安装相同的模块?
  • 只需在安装新软件对话框中取消选中“联系所有更新站点”即可。
【解决方案2】:

只需将位置地址从 http:// 更改为 https://

转到 Eclipse 菜单窗口 -> 首选项然后安装/更新 -> 可用软件站点,选择“Android 开发人员工具更新站点”并单击“编辑”

【讨论】:

    【解决方案3】:

    我遇到了类似的问题,并花了 小时 尝试上述解决方案以及 https://code.google.com/p/android/issues/detail?id=60149 中列出的解决方案。没有什么对我有用。

    最后,我重新安装了eclipse插件(Help->Install New Software-Add,然后使用https://dl-ssl.google.com/android/eclipse/)。这很简单,而且很有效。我认为这都是由于这个新插件版本修复了 eclipse 中的一个错误。

    (更多详情:http://developer.android.com/sdk/installing/installing-adt.html

    【讨论】:

      猜你喜欢
      • 2014-12-24
      • 2015-05-04
      • 1970-01-01
      • 2014-08-22
      • 2014-12-26
      • 2017-08-06
      • 1970-01-01
      • 1970-01-01
      • 2018-09-27
      相关资源
      最近更新 更多