问题描述
在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):
- 打开项目属性
- >库
- 添加新的任意库(稍后删除)> OK
- 等待工作区刷新该项目)
- 错误将消失
- 删除虚拟库
- 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.
这篇关于在构建路径错误解决之前,无法构建项目。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!