Eclipse地狱。 。无法读取项目描述文件(.project) [英] Eclipse Hell . . . Failed to read the project description file (.project)
问题描述
无法读取'com.example.android.nfc.simulator.FakeTagsActivity.FakeTagsActivity'的项目描述文件(.project)。文件已在磁盘上更改,现在包含无效信息。该项目将无法正常工作,直到描述文件恢复到有效的状态。
任何人都有一个想法,在世界上这是关于和如何可以纠正这个吗
我建议删除所有eclipse相关的配置文件(如果您已经手动制作了一些更改),然后再次输入项目,方法如下:
文件 - >导入... - >现有项目进入工作区 >
在执行此操作之前,请确保您对整个项目进行备份。
I think Eclipse is trying to make me miserable. A couple of hours ago, my project was working and compiling well. Suddenly that all changed. Eclipse somehow wipes out all changes I have made to my files(activity, manifest etc.) I make sure to save often but when I go to run the project, I get the error that I have a build error. I checked and there was none, so I go to close Eclipse, so I can reopen and see if the errors will go away. Instead what happens is Eclipse wipes clean all my files and I end up with a project on disk with lots of blank code files. I try to run anyway, and I get the error message below.
Failed to read the project description file (.project) for 'com.example.android.nfc.simulator.FakeTagsActivity.FakeTagsActivity'. The file has been changed on disk, and it now contains invalid information. The project will not function properly until the description file is restored to a valid state.
Anyone have an idea what in the world this is about and how I can rectify this?
I would recommend to wipe out all the eclipse related configuration files(make sure you take the backup if you have manually made some changes in those) and import the project again, by following
File -> Import... -> Existing Project into Workspace
Make sure you take the backup of whole project before doing this.
这篇关于Eclipse地狱。 。无法读取项目描述文件(.project)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!