Eclipse的"无效的项目内容和QUOT;从现有源创建新项目时, [英] Eclipse "Invalid Project Description" when creating new project from existing source

查看:197
本文介绍了Eclipse的"无效的项目内容和QUOT;从现有源创建新项目时,的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想创建从现有的源$ C ​​$ C一个新的项目。我不断收到以下错误:无效的项目简介,项目路径重叠另一个项目的位置具有相同的名称。原因是,我创建了从源头code之前该项目,但后来我删除了该项目,并删除其整个目录,再添加源$ C ​​$ c目录之前。我什么都试过像清洗和重新启动,但是毫无效果。我看着在我的工作空间目录,但是没有痕迹的旧项目。 有解决这个问题的几个问题,如本试图Android的记事本教程 - 练习1 - 更的问题,但没有答案为我工作!

I am trying to create a new project from existing source code. I keep getting the following error: "Invalid Project Description", project path "overlaps the location of another project" with the same name. The reason is that I created that project from the source code before, but then I deleted that project and deleted its whole directory, before adding the source code directory again. I tried everything like cleaning and restarting, but nothing worked. I looked in my workspace directory, but there are no traces for the old project. There are several questions around this problem such as this Attempting Android Notepad Tutorial - Exercise 1 - More problems, but none of the answers worked for me!

推荐答案

进入您的工作空间和移动你的项目源$ C ​​$ C文件夹到另一区域工作空间(如桌面)外。确保项目在Eclipse中删除,那么从源代码从该目录中创建一个新的项目。

Go into your workspace, and move your project source code folder to another area outside of your workspace (like the desktop). Make sure the project is deleted in eclipse, then create a new project from source from that directory.

您可以做的另一件事是尝试创建一个不同名称的项目(从第一个项目的源代码),从而使工作区将包含新项目作为一个功能性的项目。然后,进入你的工作空间目录,绝对删除包含原始项目的文件夹,或移动它。重试加载从源代码项目,这次使用的第二个项目,通过使用正确的名称命名。或者,你可以尝试重构的第二个项目回到第一的名字。

Another thing you could do is try creating a project of a different name (from the first project's source), so that the workspace will contain the new project as a functional project. Then, go into your workspace directory and absolutely delete the folder that contained the original project, or move it. Try loading the project from source again, this time using the second project, by naming it with the correct name. Or, you could try refactoring the second project back to the first's name.

这篇关于Eclipse的"无效的项目内容和QUOT;从现有源创建新项目时,的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆