Android Eclipse Import Existing Code

Just delete the ".project" file in your project folder (it's hidden on Linux, use "ls -a" to show), then from Eclipse, choose Create Android Project from existing source. It worked for me..

Thats it.Cheerzz..


Solution A:

1) Close Eclipse, 2) when it starts it will ask for new working directory, choose something different then your default one.

if it is not asking for "new working directory"

Solution B: 1) Go to File > Switch Workspace > Other 2) Choose a new Working-Directory (not the same!)

enter image description here

After that it should be possible importing projects


I had a hard time with the same problem with TrivialDrive. Try to check "Main Activity" from the project names you have in your workspace. if it exist, you'll get this error.


I played around with this a bunch and found out that it was conflicting with another similarly named activity that already existed in the workspace. The error message "Select at least one project" was covering up that message. It would appear very quickly and then switch to select at least one project.

To get around this, I deleted all the projects from my workspace. I didn't know which one it was because I am making an app that is being versioned and branded for different companies.