Some projects cannot be imported because they already exist in the workspace error in Eclipse

Viewed 369633

I am trying to import a project that me and my co-worker have been working on.. and keep getting this error after I select-- "import" then "import existing project" then click archive file, and then I click next, and this error comes up:

Some projects cannot be imported because they already exist in the workspace

38 Answers

go to .project file in your project and change the name of the project in name tag

Try to rename the value of <name> tag which inside ".project" file of your project.

<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
    <name>Rename this value</name>
    <comment></comment>
    <projects>

This will work for sure. Here you are just renaming your project.

This warning means you just deleted project from navigator, but the project is present in the working set. Or else your working set has project with same name, so go to work-space directory and delete the project which has the same name and import again.

This worked for me.

File > New > Android Project > Create project from existing source

Location = the location of the project you want to import.

You will get a warning "An Eclipse project already exists in this directory. Consider using File > Import > Existing Project instead." But you will be able to click "Next" and the project should in effect be imported.

I had a similar problem, I have the same repository I wanted to import twice. I renamed the existing project by right clicking on the project > refactor > rename then imported it again.

I built the eclipse dependencies in the project terminal and then tried to import the project and it worked.

Try uncheck the option Copy projects into workspace.

It works for me.

Related