Rahul Gupta
Rahul Gupta

Reputation: 5295

Why i am getting invalid project description while importing project?

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

Upvotes: 6

Views: 12031

Answers (5)

eliasetm
eliasetm

Reputation: 1667

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

enter image description here

Upvotes: 2

Mahdi
Mahdi

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

Mostafiz Rahman
Mostafiz Rahman

Reputation: 8552

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

  • check the box Copy project into workspace while importing the existing project.

Upvotes: 12

vivek
vivek

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:

  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

Upvotes: 0

Viswanath Lekshmanan
Viswanath Lekshmanan

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

  • 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

Upvotes: 2

Related Questions