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 a
I have struggled with this issue myself for a while and I think the reason it happens is because (for Android) there are two ways to import projects into the workspace
1) File>Import>General>Existing Project into Workspace
2) File>Import>Android>Existing Code into Workspace
The errors described here are related to method 2).
For method 1) there will be no overlap problems as long as you uncheck the "Copy Projects into Workspace" box if the project is already in the workspace.
Edit: There is a third method that wasn't in my original post.
3) File >New>Other>Android>Existing Android Project into Workspace
Today I accidentally solved the issue:
Press finish.
[Optional scenario]: If project(s) and their containing folders have been renamed with the fully qualified package names then simply click on project node parent (where you see project package name instead of project's old name) in Eclipse and rename project with old name. Eclipse will rename folder too.
P.S. Tested on Eclipse Juno.
Edit: Many times have passed since this answer and new Eclipse and Android SDK arrived. They have no much more problems during importing existing projects. The only thing one has to consider before importing is to move project folders(those ones one is willing to import) outside of eclipse workspace dir and then check checkboxes ("copy projects into working sets", "add projects into wokring sets") in import wizard dialog. Also I recommend doing this with latest Android SDK because it no more imports projects with dummy names and does not rename folders as it did in some custom cases.
paste the project source and support libs to any other newly created folder and try to import from there. It worked for me.
Go to the .project file of your project make sure it display the same name as displayed in project folder. if not change the name. it will work.
Suppose you have something like:
There are a variety of scenarios, but, in my case, I wanted to retain the folder and it's contents, as it had been checked out from .git. However, I needed to be able to modify the source and other stuff using Eclipse.
I found the problem was that the .cproject
and .project
files had path information that was very environment specific (and did not match my environment).
What I did was this:
The key seemed to be creating the top level empty work space with a different name.
I hope this helps someone.