Reputation: 5295
I am trying to import an existing project in eclipse. However i am getting this error in the snapshot below.
This problem only exists when i try to import from my workspace. However if the same project is somewhere else, then i am able to import it successfully.
Upvotes: 6
Views: 12031
Reputation: 1667
You should change workspace path. For to do Change The Workspace Path:
Upvotes: 2
Reputation: 6389
you have two solutions and they works:
1- move your project package from workspace and place it in another root, then import to eclips.
or
2- rename your project package and then add it and it will fix the problem.
Upvotes: 4
Reputation: 8552
I also faced the same problem. The trick bellow solved my problem:
Upvotes: 12
Reputation: 356
I have checked all the solution and finded that in most of cases "Changing the Project location" form Workspace worked in 80% cases. But for next 20%,i would recommend to do following:
Change the folder of Project and then Import it. (first do this)
If above does not worked, Rename the Project and then try importing it.
If still you are not getting success,check whether you are importing the project from 1 workspace folder to other or not.IF yes,then while importing the projects,check the option "Copy project into Workspace".
And even if you are not getting success, clik import --> General --> Existing Project into Workspace.
PS --> If this solution worked for you,please vote-up as i am newbie here and hence need that to participate in major questions and answers.
Upvotes: 0
Reputation: 10083
you have a project named X
in your workspace still you are trying to import another project named X
. you can fix it by deleting the existing project in eclipse and retry importing.
Fixes
Android -> Existing Android Code Into Workspace, You must use General->Existing projects into workspace. It's probably a solution
Upvotes: 2