1

I am trying to import the projects I made on other machine. So I copied the workspace folder from other machine into current PC and replaced the default workspace folder that was created when I installed fresh eclipse. After replacing workspace, when I try to import the projects from the workspace, I get error "Invalid Project description".

  • What should I do to import all my projects in eclipse? Thanks
Alfred James
  • 971
  • 6
  • 16
  • 26

6 Answers6

10

I've found that when I try to import an existing project into my workspace, it only works if I select the General->Existing Projects into Workspace. If I select Android->Existing Android Code into workspace then I have an issue where it doesn't import properly.

Maybe you are facing a similar issue.

brianestey
  • 7,514
  • 5
  • 31
  • 47
2

Try the following:

 File >> New >> Android Project 

Then choose:

 Create project from existing source

And put your project path

Amt87
  • 5,135
  • 4
  • 30
  • 51
0

OK try this, Zip your project folder. File->Import->General->Existing Projects into Workspace->Select archive file or http://code.google.com/p/android/issues/detail?id=8431 How to import existing Android project into Eclipse?

Community
  • 1
  • 1
Rajesh Rajaram
  • 3,211
  • 4
  • 26
  • 48
  • OK try this, Zip your project folder. File->Import->General->Existing Projects into Workspace->Select archive file – Rajesh Rajaram Aug 29 '12 at 11:50
  • Rajesh- don't copy and paste other people's solutions. Deep link, like this; http://stackoverflow.com/a/5450375/1348379 – BrantApps Aug 29 '12 at 11:50
  • @OceanLife http://meta.stackexchange.com/questions/8231/are-answers-that-just-contain-links-elsewhere-really-good-answers – Rajesh Rajaram Aug 29 '12 at 11:59
  • I stand corrected. It appeared to me to be insufficiently referenced despite the original question (not suggested answer) being linked to. Hence my deep linking comment. – BrantApps Aug 29 '12 at 12:11
0

File->Import->General->Existing Projects into workspace This works perfectly. Try it.

Nikita
  • 21
  • 2
0

For anyone, if the above doesn't work for you, you may want to check that the .classpath and .project files are there. I had a similar experience where I was trying to import my project files' from my svn working copy. However, it shows up as a greyed out unselectable project. Copying .classpath and .project file from a local backup made it work.

irs8925
  • 186
  • 1
  • 6
0

I was facing same issue.

Eclips cannot import project if it is already exist in workspace. Double check if you already have a project with same name.

Rana Hyder
  • 75
  • 1
  • 7