How do I configure Android from multiple computers?

Well, I give Android development, and I want to work on the same Android code from multiple PCs (for example, office and home PCs). The problem is that I use SVN to synchronize the folders of the Android workspace, but when I update SVN on the PC and then open / import the project in Eclipse, I get all kinds of errors.

I used to do this to synchronize the Projects folder for Visual Studio 2010 via SVN, and it worked brilliantly.

How can I use the same Android workspace on multiple computers without having to manually copy the code to another computer and manually import it every time I switch the PC ..?

+5
source share
6 answers

Well, since everyone presented how you can do this with SVN. I would like to offer you something else. I once tried to do this using a cloud service, for example. Google Cloud, Drobbox, etc. You can simply create a project in the Dropbox folder, and every time you switch computers, you just clean your project.

Regards, also Ahmad :)

+2
source

I already developed SVN or git.

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

, Build > Clean.

+2

, , .

, .
""

, - ,
, , .

+1

SVN Plugin, SVN eclipse

Java/src, SVN.

/ SVN. , gen/bin, . , .

/ SVN SVN, .

0

, . , - , . , , SVN. - "COMMIT" . , , , UPDATE , , HOME, HOME PC COMMIT . , , , . , . , Eclipse WINDOW, SHOW VIEW, PROBLEMS... i.e WINDOW > SHOW VIEW > PROBLEMS , , . , classpath. , classpath, , JARS, .

0
source

If you are already using a standalone SVN client, such as Cornerstone or Versions , make sure that you ignore the following directories, as they belong to your workspace and will cause problems when trying to check and import to the project on another machine:

  • .settings
  • Ben
  • gene

After you have checked the source files without them, you can create a new project from your working copy on the second computer using File> Import> Existing Android Code in the Workspace.

0
source

All Articles