6

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. enter image description here

Rahul Gupta
  • 5,275
  • 8
  • 35
  • 66

5 Answers5

11

I also faced the same problem. The trick bellow solved my problem:

  • check the box Copy project into workspace while importing the existing project.
Mostafiz Rahman
  • 8,169
  • 7
  • 57
  • 74
4

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.

Mahdi
  • 6,139
  • 9
  • 57
  • 109
2

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

  • You can change your workspace and import this project in to the new workspace
  • delete the project from eclipse and import without using copy project in to workspace

Android -> Existing Android Code Into Workspace, You must use General->Existing projects into workspace. It's probably a solution

Viswanath Lekshmanan
  • 9,945
  • 1
  • 40
  • 64
2

You should change workspace path. For to do Change The Workspace Path:

enter image description here

eliasetm
  • 1,399
  • 11
  • 20
0

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:

  1. Change the folder of Project and then Import it. (first do this)

  2. 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. General Option Approach for Importing

vivek
  • 356
  • 3
  • 7