(Eclipse SDK 更新错误) 收集要安装的项目时发生错误
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/23201685/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
(Eclipse SDK update error) An error occur while collecting items to be installed
提问by Derekyy
I just updated ADK and I encountered exactly the same problem (the same version of upgrade) as this guy (Cannot update ADT from 22.3.0. to 22.6.1, no updates were found)
我刚刚更新了 ADK,我遇到了和这个人完全相同的问题(升级版本相同)(无法将 ADT 从 22.3.0. 更新到 22.6.1,没有找到更新)
I followed their comments, yet I did not see the dialog mentioned in step 4 (4. You should see a dialog that says "this software is already installed, an update will be performed instead". Clicking ok will lead to 22.6.1 being installed.)
我遵循了他们的评论,但我没有看到步骤 4 中提到的对话框(4。您应该看到一个对话框,提示“此软件已安装,将执行更新”。单击“确定”将导致 22.6.1安装。)
Instead, I have the error message that titled
相反,我有标题为的错误消息
Problem occurred
出现问题
It says
它说
Installing Software has encountered a problem. An error occurred while collecting items to be installed
安装软件遇到问题。收集要安装的项目时发生错误
And a chunk of details is followed, which I do not understand (See below). Could someone help? Thx so much
然后是一大堆细节,我不明白(见下文)。有人可以帮忙吗?非常感谢
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.6.2.v201403212031-1085508 No repository found containing: osgi.bundle,com.android.ide.eclipse.adt.package,22.6.2.v201403212031-1085508 No repository found containing: osgi.bundle,com.android.ide.eclipse.base,22.6.2.v201403212031-1085508 No repository found containing: osgi.bundle,com.android.ide.eclipse.ddms,22.6.2.v201403212031-1085508 No repository found containing: osgi.bundle,com.android.ide.eclipse.gldebugger,22.6.2.v201403212031-1085508 No repository found containing: osgi.bundle,com.android.ide.eclipse.hierarchyviewer,22.6.2.v201403212031-1085508 No repository found containing: osgi.bundle,com.android.ide.eclipse.traceview,22.6.2.v201403212031-1085508 No repository found containing: osgi.bundle,overlay.com.android.ide.eclipse.adt.overlay,22.6.2.v201403212031-1085508 No repository found containing: org.eclipse.update.feature,com.android.ide.eclipse.adt,22.6.2.v201403212031-1085508 No repository found containing: org.eclipse.update.feature,com.android.ide.eclipse.ddms,22.6.2.v201403212031-1085508 No repository found containing: org.eclipse.update.feature,com.android.ide.eclipse.gldebugger,22.6.2.v201403212031-1085508 No repository found containing: org.eclipse.update.feature,com.android.ide.eclipse.hierarchyviewer,22.6.2.v201403212031-1085508 No repository found containing: org.eclipse.update.feature,com.android.ide.eclipse.traceview,22.6.2.v201403212031-1085508
收集要安装的项目时发生错误会话上下文是:(profile=profile,phase=org.eclipse.equinox.internal.p2.engine.phases.Collect,operand=,action=)。未找到包含以下内容的存储库:osgi.bundle,com.android.ide.eclipse.adt,22.6.2.v201403212031-1085508 未找到包含以下内容的存储库:osgi.bundle,com.android.ide.eclipse.adt.package,22.6.2 .v201403212031-1085508 未找到包含以下内容的存储库:osgi.bundle,com.android.ide.eclipse.base,22.6.2.v201403212031-1085508 未找到包含以下内容的存储库:osgi.bundle,com.android.ide.eclipse.6ddms,2222 .2.v201403212031-1085508 未找到包含:osgi.bundle,com.android.ide.eclipse.gldebugger,22.6.2.v201403212031-1085508 的存储库,22.6.2.
回答by Chris Noldus
As per jonesw's link https://stackoverflow.com/a/14896322/621481all you need to do is make sure you have unchecked 'Contact all update sites during install to find required software' from the eclipse install software screen.
根据 jonesw 的链接 https://stackoverflow.com/a/14896322/621481,您需要做的就是确保从 eclipse 安装软件屏幕中取消选中“安装期间联系所有更新站点以查找所需软件”。
回答by J.Makela
I recently had a problem very similar to this. And the answer from @ChrisNoldus did not work for me. However I did find this link:
我最近遇到了一个与此非常相似的问题。@ChrisNoldus 的回答对我不起作用。但是我确实找到了这个链接:
Basically, there seems to be a problem when an available update site doesn't have a trailing '/' in its link.
基本上,当可用更新站点的链接中没有尾随“/”时,似乎存在问题。
I did not need to export anything to a file, but simply changed the configurations in Window->Preferences->Install/Update->Available Software Sites
我不需要将任何内容导出到文件中,只需更改 Window->Preferences->Install/Update->Available Software Sites 中的配置
回答by akash karothiya
I recently encountered the same problem and marked answer didn't worked for me. I had tried all the possible solutions to fix this error. Finally I found there were 2 workspace of eclipse under C:\Users\Public\Documents
( Neon
, Mars
). Just delete the folder which you don't want (Suppose you are working on Neon then delete the other folder Mars
) and then try installing update.
我最近遇到了同样的问题,标记的答案对我不起作用。我已经尝试了所有可能的解决方案来修复这个错误。最后我发现C:\Users\Public\Documents
( Neon
, Mars
)下有 2 个 eclipse 工作区。只需删除您不想要的文件夹(假设您正在处理 Neon,然后删除另一个文件夹Mars
),然后尝试安装更新。