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!


当前回答

复制项目到你的工作空间,从eclipse文件>新建>项目创建新的Android应用程序项目,瞧。

其他回答

以下是我做的非常有效的方法。我只是在通用下导入了一个现有的项目,而不是导入一个android项目。

而不是从Android ->现有的Android代码导入工作空间,你必须使用通用->现有的项目到工作空间。这可能是一个解决方案。

以我为例,当我打开Eclipse并将计算机设置为睡眠模式,然后醒来工作时,我出现了错误“无效的项目描述”。我需要做的唯一一件事就是关闭我的Eclipse并再次打开它。 我看到当打开Eclipse并让计算机进入睡眠或休眠时,会犯许多其他奇怪的错误!

我摆脱了我的问题通过改变文件>工作空间,然后,重新启动后,重新设置工作空间。

复制项目到你的工作空间,从eclipse文件>新建>项目创建新的Android应用程序项目,瞧。