当我尝试在Eclipse中安装新功能时(使用ADT作为基础包),我得到了
‘Installing Software’ has encountered a problem.
An error occurred while collecting items to be installed
An error occurred while collecting items to be installed
session context was:(profile=profile, hase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=). No repository found containing: osgi.bundle,com.android.ide.eclipse.base,21.1.0.v201302060044-569685
No repository found containing: osgi.bundle,com.android.ide.eclipse.ddms,21.1.0.v201302060044-569685
No repository found containing: org.eclipse.update.feature,com.android.ide.eclipse.ddms,21.1.0.v201302060044-569685
我安装了许多插件,但我不确定哪一个可能会出错。如果其他人遇到这个错误并找到了解决方案,那就太好了。感谢。
答案 0 :(得分:47)
尝试将repo的地址从http更改为https,反之亦然
答案 1 :(得分:35)
这对我有用:
在Eclipse中,尝试:
帮助>安装新软件
选择“使用:https://dl-ssl.google.com/android/eclipse/”
选择要安装的更新,然后 取消选中“联系所有更新站点” 在安装过程中找到所需的软件“
答案 2 :(得分:0)
我发现了类似的信息以及如何在“Android - 一个开放式手机联盟项目”上修复它,这里是链接http://code.google.com/p/android/issues/detail?id=38267我希望这可以帮助你。
您可以尝试的另一件事是导出您的工作空间并重新安装您的日食。有时兼容性问题可能会导致此问题。我知道这可能需要一些工作,因为那时你必须添加所有的插件,但如果你找不到解决方法或修复,这可能是你可能想要考虑的最后一个选项。
答案 3 :(得分:0)
它正在安装更新的文件夹位置,它没有完全写入权限,所以我更改了它,并将http更改为https。这对我有用。
答案 4 :(得分:0)
很棒,我的版本是21.0.1,我的工具因为某种原因而在21.1上,从http更改为https,即https://dl-ssl.google.com/android/eclipse/似乎正常工作,ADT已下载并更新。
启动Eclipse时没有错误消息。
可悲的是,在进入工作区时发生的事情是:
做得好Eclipse你创建的插件噩梦系统已经破坏了我的另一个装置。就像我敢于安装或使用插件时所遇到的每个实例一样。
答案 5 :(得分:0)
我只能使用'http'代替'https'(http://dl-ssl.google.com/android/eclipse/)来解决问题