在构建路径错误解决之前

在构建路径错误解决之前

本文介绍了在构建路径错误解决之前,无法构建项目。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在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):


  1. 打开项目属性

  2. >库

  3. 添加新的任意库(稍后删除)> OK

  4. 等待工作区刷新该项目)

  5. 错误将消失

  6. 删除虚拟库

  1. Open the project properties
  2. Select Java Build Path > Libraries
  3. Add a new, arbitrary library (to be deleted later) > OK
  4. Wait for the workspace to refresh (or force a refresh of the project)
  5. The error(s) will go away
  6. 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.

这篇关于在构建路径错误解决之前,无法构建项目。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-05 20:50