在构建路径错误解决之前

在构建路径错误解决之前

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

问题描述

在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. 选择Java构建路径>库

  3. 添加一个新的任意库(稍后删除)>确定

  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