5

SDK Manager 告诉我我有更新并将我从版本 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
4

3 回答 3

11
于 2013-05-17T07:43:43.277 回答
4

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

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

于 2013-05-21T18:26:53.043 回答
0

我遇到了类似的问题,并花了数小时尝试上述解决方案以及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

于 2013-09-24T03:20:05.583 回答