问题描述
在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.
我从博客
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构建路径>库
- 添加一个新的任意库(稍后删除)>确定
- 等待工作区刷新(或强制刷新项目)
- 错误将会消失
- 删除虚拟库
- Open the project properties
- Select Java Build Path > Libraries
- Add a new, arbitrary library (to be deleted later) > OK
- Wait for the workspace to refresh (or force a refresh of the project)
- The error(s) will go away
- Remove the dummy library
我可以找到的唯一其他引用是对.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?
推荐答案
您尝试从菜单中使用项目>清除?这将迫使Eclipse中所选项目的新构建。
Have you tried using Project > Clean... from the menu? This will force a new build on the selected projects in Eclipse.
这篇关于在构建路径错误解决之前,无法构建项目。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!