Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Moving Android/Eclipse project to new PC

Well, I hosed up my Android development PC, but didn't care all that much since I really needed a newer, much faster PC for this work. And here I am now with a high-end Windows 7 64-bit box.

Eclipse and all the Android components are up and running, but the one thing I'm having trouble with is how to get my previous project into the new workspace. I copied over my entire old workspace directory from the old disk and made that my Eclipse workspace, but it doesn't automatically see the projects that are there. I tried creating a new Android project "from existing source", but it complained about having "overlapping projects" or some such.

Is there a way to have it recognize the existing project files, or should I move them somewhere else, create the project from scratch, and then copy the old files back into the project tree? Or any other solutions?

like image 584
gordonwd Avatar asked Feb 03 '23 00:02

gordonwd


2 Answers

A super easy way is by just doing an Import.

  1. Select File Import.
  2. Select Existing Projects Into Workspace and click next.
  3. Select the directory of the project file.
  4. Click Finish.

You will have to do this for each project. Note, that you may need to remove the project folder that you copied into the workspace manually, because this procedure will automatically copy the folder and hierarchy for you.

like image 175
user432209 Avatar answered Feb 06 '23 15:02

user432209


I used this method to code on my home machine as well as a development environment running from a live CD while attending classes in the computer lab.

  1. Get Dropbox.
  2. Put your workspace in a Dropbox folder.
  3. Point the new machine's Eclipse install to your Dropbox workspace folder after it has updated itself.
  4. Get back to coding.

Hope this works for you. It did for me.

like image 31
Zoot Avatar answered Feb 06 '23 16:02

Zoot