在ADT中断后修复Eclipse

时间:2013-05-17 07:36:22

标签: android eclipse-plugin adt

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

3 个答案:

答案 0 :(得分:11)

答案 1 :(得分:4)

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

即可

转到Eclipse菜单窗口 - >首选项然后安装/更新 - >可用的软件站点,选择“Android Developer Tools更新站点”,然后单击“编辑”

答案 2 :(得分: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