SDK 管理器告诉我有更新并将我从版本 21 更新到 22,然后说我应该检查更新。我从大约上个月开始运行 bundle 的 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
最佳答案
只需将位置地址从 http://更改为 https://
转到 Eclipse 菜单 Window -> Preferences 然后 Install/Update -> Available Software sites,选择“Android Developer Tools Update Site”并单击“Edit”
关于android - 在 ADT 中断后修复 Eclipse,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/16603834/