安装新软件时Eclipse出现问题
我正在使用适用于 mac os X 的 Eclipse 3.6 (Helios)。我从 Eclipse 下载页面下载,解压并将其放入“Applications”文件夹中。然后,我启动 Eclipse 并选择工作区(默认为文档/工作区)。之后,我尝试通过“帮助”->“安装新软件”来安装新软件。问题是出现错误并显示以下消息: “无法完成请求。尚未正确配置此安装以进行软件更新。有关详细信息,请参阅错误日志。”
并且错误日志有: “无法找到正在运行的配置文件实例。在此应用程序的 config.ini 文件中可能未正确设置 eclipse.p2.data.area 和 eclipse.p2.profile 属性。”
我尝试这样做是因为我想安装 ADT 用于 android 开发(并且我无法执行“如何”的第一步)。
我能做什么来解决这个问题?
先感谢您
I'm using Eclipse 3.6 (Helios) for mac os X. I downloaded from the Eclipse download page, unzip and put it in Applications folder. Then, i start the Eclipse and choose the workspace (the default, Documents/Workspace). After this, i tried to install new software by going to Help->Install New Software. The problem is that a error occur with the following message:
"Cannot complete the request. This installation has not been configured properly for software update. See the error log for details."
And the error log has:
"Could not locate the running profile instance. The eclipse.p2.data.area and eclipse.p2.profile properties may not be set correctly in this application's config.ini file."
I'm trying to do this because i wanna install ADT for android developments (and i can't perform the very first step of the "how to").
What i can do to fix this??
Thank you in advance
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
最有可能的是,这是由旧版本 The Unarchiver 中的错误引起的,该错误破坏了 Eclipse 附带的默认配置文件。升级到最新版本的 The Unarchiver,再次提取 eclipse,一切都应该可以正常工作。
Most likely, this is caused by a bug in an old version of The Unarchiver that corrupts the default profiles included with eclipse. Upgrade to the newest version of The Unarchiver, extract eclipse again, and everything ought to work.
一般是因为Eclipse中没有设置添加依赖包的链接。确保 http://download.eclipse.org/eclipse/updates/3.6 和 hxxp ://download.eclipse.org/eclipse/helios(将 xx 替换为 tt)列在可用软件站点(在帮助 -> 安装新软件下)下。一旦这些存在,Eclipse 应该能够下载 ADT 所需的所有依赖项。
Generally this is because the links for adding dependency packages aren't setup in Eclipse. Ensure that http://download.eclipse.org/eclipse/updates/3.6 and hxxp://download.eclipse.org/eclipse/helios (replace xx with tt) are listed under Available Software Sites (under Help -> Install New Software). Once theses are present Eclipse should be able to download all the dependancies it needs for ADT.
我也有同样的问题。最终我下载了一个不同的包(实际上我尝试了几个不同的版本,它们都有不同的错误)。给它一个树节,如果它有效,你只需为你正在做的工作安装插件。
I had the same problem. Eventually I downloaded a different package (actually I tried a couple of different versions, they both had different bugs). Give that a burl, and if it works you just install the plugins for the work you're doing.