Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I do Android development from multiple computers?

Well I'm giving Android development a shot, and I want to work on the same Android code from multiple PCs (e.g. office and home PC) .. The problem is, I'm using SVN to sync the Android workspace folders, but when I do the SVN update on a PC, and then open/import the project in Eclipse, I get all kinds of errors ..

Previously I did the above for syncing the 'Projects' folder for Visual Studio 2010 via SVN, and it worked brilliantly ..

How can share the same Android workspace across multiple PCs as well, without having to manually copy over code to the other machine, and having to manually import it everytime I switch PCs .. ?

like image 505
Ahmad Avatar asked Jul 29 '12 15:07

Ahmad


2 Answers

Well, since everybody presented how you can do it with SVN. I would like to suggest you something else. I once tried to do it with a cloud service e.g. Google Cloud, Drobbox etc. You could just create a Project in a Dropbox folder and everytime you switch computers just clean your project.

Regards, also Ahmad :)

like image 63
Ahmad Avatar answered Sep 22 '22 17:09

Ahmad


I already developed using SVN or git.

You need to create a project in each computer, but don't use import. Save only the java files + proguard file + manifest file + .classpath and the .project in the SVN/git. Then, in each computer (you only need to do this once) create a new project and use the option on eclipse "create project from existent source".

Sometimes you need to rebuild your project using Build > Clean.

like image 40
Tiago Almeida Avatar answered Sep 23 '22 17:09

Tiago Almeida