android - 在 ADT 中断后修复 Eclipse

标签 android eclipse-plugin adt

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/

相关文章:

java - 从 Eclipse 插件启动 URL

android - 错误 : This Android SDK requires Android Developer Toolkit version 22. 6.1 或更高版本

java - BinarySearchingTree - dll(generic),不知何故我的项目无法添加到我的 adt 中

android - 显示是/否对话框而不是确定/取消

eclipse - 如何向 eclipse 添加插件,以便我可以从 Eclipse 运行 QML

eclipse - 更新eclipse时出错

java - GridView 条目是自下而上添加的

java - 单击时如何清除editText中的字符串

android - Android 联系人信息是如何存储的?

android - Renderscript 多维数组