[android] Eclipse "Invalid Project Description" when creating new project from existing source

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:

  1. Created a new empty folder(with a different name) and created a new workspace pointing to that folder.
  2. Checked out or copied the .git project/folder into the empty folder.
  3. Then imported, General, Existing projects in Workspace.

The key seemed to be creating the top level empty work space with a different name.

I hope this helps someone.