try uncheck the option copy projects into workspace.

it works for me.


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


this problems occurs because you have the same project in some other project in eclipse we have many project folder, so if you have a project in one folder and you want to import it in other project folder, then this problem occurs. so first of all delete the project from other folder and then import in into your current one project folder.


new to eclipse and android development and this hung me up for quite a while. here's a few things i was doing wrong that may help someone in the future:

  1. i was downloading code examples and assuming project name would be the same as the folder name and was looking for that folder name in the project explorer, not finding it, re-importing it, then getting the error message it already existed in the workspace. yeah. not proud of that.
  2. didn't click on 'copy projects into workspace' and then searched in vain through the workspace when it didn't appear in the project explorer because
  3. the 'add project to working sets' option in the import projects tab isn't working as far as i can tell, so was not appearing in the project explorer for the active working set (refresh made no difference). adding project to the working set had to be done after successfully importing it.


i found this after two days of efforts.
it is worth trying.


it is very simple.

press f2 key to rename project .

and import multiple copy of android projects with the same package .


if the project has been already deleted from the project navigator, then right click in project navigator, and select refresh to refresh the workspace. then re-add the deleted project.


nothing about could not solve my situation. this is how i solved.

  1. close the ide
  2. remove the same name project form workspace
  3. start the ide
  4. clean all project (not sure this helped)
  5. file > import > existing project
  6. click refresh button
  7. import project



at least on eclipse juno, you can toggle on advanced. then select [groupid].[artifactid] from the name template dropdown. that should make your project uniquely named. (if you keep multiple versions of a given artifact, you can select [groupid].[artifactid].[version] instead). be sure to click the refresh button so the changes are visible. wash, rinse, repeat as needed.


delete it from eclipse......u might have closed the project in eclipse by "(rightclick)-->close project" even if you delete this project from workspace stays there in eclipse ide as closed should delete it from eclipse ide...!!!


i have a slightly different situation whereby my eclipse stops responding and i have had to kill the session. after restarting juno, then the particular project i was working on disappeared although .project file exists. trying to import back into eclipse would yield the same "some projects cannot be imported .." or "a project with this name already exists" if trying to create a new project.

in the end, since i was using working sets, i managed to find this file .metadata.plugins\org.eclipse.ui.workbench\workingsets.xml. manually added the missing entry and restarted eclipse and voila, it came back.


i had the same error because there was one more project under svn in workspace but with another name. so i've removed it.


this is what i have noticed for the above issue :- if the checkout folder (folder where your pom project resides) is same as the eclipse workspace folder then i am getting this issue


when i used a separate workspace folder for importing the project, eclipse did worked smoothly :)


in case you are using maven, make sure that your artifactid in pom.xml does not have the same name as any existing project name in your eclipse project explorer.


go to file ---> switch workspace .it will work


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.


in eclipse click file then select switch workspace then browse and select another folder. now repeat the same process and this time there will be no error :)


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.


my problem was a little bit different.

for example, the project name (what i see) was fooproject and in the imported project, i was looking for the fooproject but i could not. however, eclipse does not let me import that project because he claims that it is already imported. and then, i have looked at the .project file of the project and i have seen that the actual name of the project was not what i see (fooproject).

the conclusion; the name of the project (what you see in eclipse) may be different than the actual name of the project (what maven see). because of this reason. please be sure that they are the same name by checking .project file of the project.


another way i just found!

move the project to some other folder and then import and if required copy to workspace


i had this issue when i deleted a project and tried to import the code again. eclipse never really deleted the project and still held a reference to the project name/folder in the workspace. i had to created a new project with the same name and my code appeared as it was. i believe this only worked because the project path was never changed.


it was happened to me when

i delete project from eclipse project explorer and not checked the remove content from disk.

next time when i tried to import same project in workspace then got same problem.

to solve i just did fyi work that every kid can do :)

so how i solved it:

  1. cut ctrl + x myproject folder from eclipse workspace to other location ie desktop
  2. right click navigator (you can get it from window > show view > navigator) and refresh (it will prompt following dialog) enter image description here
  3. just click yes button and move your project folder back to eclipse workspace directory
  4. import again!
  5. now rock 'n' role


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.


take a look in your workspace folder, you may have an old project there with the same name as the one you are importing (even though it's not being shown on eclipse).

when you delete a project on eclipse, if you don't check the checkbox on the dialog, it just removes it from the view and doesn't delete the folder on the workspace directory.


easiest way: right click on the project (folder that reads "mainactivity") go to refactor -> rename and you will get a text field allowing you to rename your project.

if you get an alert saying your project is out of sync with the filesystem press f5 (refresh) and try again.


in my case i had deleted the resources directory from my .metadata.plugins:

  1. go to your workspace
  2. enter .metadata.plugins
  3. delete : org.eclipse.core.resources directory

enter image description here


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

<?xml version="1.0" encoding="utf-8"?>
    <name>rename this value</name>

this will work for sure. here you are just renaming your project.


check if you have configured eclipse to show all the working set. i once encountered exactly the same problem and it turned out i accidentally imported the project into the other projects working set. and my eclipse configuration didn't show that working set in the package explorer, which lead me to believe that the project was not imported yet.

updated for @mawg:

first, click the select working set...:

enter image description here

then, choose no working sets:

enter image description here

this will effectively disable the working set and show all projects.


if you've arrived at this because you have cloned a git project into the existing workspace and now you want to promote that workspace to a full fledged project then you should use the 'git repositories' view -> select 'working directory' -> import projects -> existing projects.


you have one occult directory named ".metadata" in workspace directory. close eclipse, delete ".metadata" and open eclipse. when eclipse ask you about workspace make sure that ".metadata" isn't in workspace directory and click "ok" button to select default workspace.


maybe you get the same project name in your '.project' file,check it,if yes, rename another name.than import again


projects in the eclipse workspace must be unique. note though that the project name need not be the same as the directory/folder name of the project, so you can either delete any existing project with the same name or alternatively rename the existing projects.


you may have a project with same name in your workspace. try to refresh (file->refresh) your workspace after deleting the another one with same name. a typical situation occurs when you want to re-import a deleted project.


in my case, i copied one of the projects (say 'project1') from the workspace and pasted it to the same workspace. after that i modified the name of the pasted project (say to 'project2'). i could not see it in the repository.

the main reason was .project file from the new project still had: <name>project1</name> instead of <name>project2</name>.

so, i did following things in order to get the issue fixed:

  1. cut and paste project2 outside the workspace
  2. change .project file to have <name>project2</name>
  3. try importing project2 again.

it worked for me.


this usually happens when you change the project directory physically without first delete in eclipse. you can view and delete these hidden projects in the following view:

window -> show view -> other -> general -> navigator

then simply just continue with the process of import existing project.


it has just happened to me too. finally i realized that the project was already open in my workspace but it was not visible because of the selected working set. you have just to deselect the active working set and all opened projects will become visible.


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


uncheck the "copy projects into workspace" checkbox, and then click "refresh" button, you will be able to import the project

Related Query

More Query from same tag