在解决构建路径错误之前,无法构建项目. [英] The project cannot be built until the build path errors are resolved.
问题描述
在 eclipse 3.4.2 中编译 android 项目时,我得到 在解决构建路径错误之前无法构建项目.
While compiling an android project in eclipse 3.4.2, I am getting The project cannot be built until the build path errors are resolved.
我从博客 获得了一个临时解决方案http://www.scottdstrader.com/blog/ether_archives/000921.html
I got a temporary solution from the blog http://www.scottdstrader.com/blog/ether_archives/000921.html
解决方案是强制重新保存所选项目(及其 .classpath 文件):
The resolution was to force a resave of the selected projects (and their .classpath files):
- 打开项目属性
- 选择 Java 构建路径 > 库
- 添加一个新的任意库(稍后删除)> OK
- 等待工作区刷新(或强制刷新项目)
- 错误将消失
- 删除虚拟库
我能找到的唯一其他参考是对 .classpath 文件的内容进行了微小的改动.
The only other references I could find were to make minor alterations of contents of the .classpath file.
是否有针对此问题的永久性修复?
Is there any permanent fix for this issue?
推荐答案
您是否尝试过从菜单中使用 Project > Clean...?这将强制对 Eclipse 中的选定项目进行新构建.
Have you tried using Project > Clean... from the menu? This will force a new build on the selected projects in Eclipse.
这篇关于在解决构建路径错误之前,无法构建项目.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!