Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android Eclipse, Dropbox, Windows and Linux

I'm using my Dropbox folder to store my Eclipse workspace in (instant back ups) but want to develop on both Linux and Windows. (I think) the workspace file stores the location of the Android SDK which is different on both machines /home/android... and c:\android.

Is there any way of developing on Windows one minute and Linux the next? (the issue is the directory of the Android SDk.

thanks

like image 574
Matt Avatar asked May 18 '26 07:05

Matt


2 Answers

The best solution is source version control, checkout a comparison table on Wikipedia.

like image 95
ognian Avatar answered May 20 '26 20:05

ognian


I use Dropbox for this two, I switch between Windows, Mac and Linux. This is how I do it:

  1. Put the Windows version in the Dropbox
  2. Create a new Android Project with the same name in Linux somewhere other than Dropbox
  3. Delete the assets, res and src folders and replace them with softlinks to the ones in Dropbox

This way each OS has it's own project files, but anytime you update a resource or code file it will update on all OS's.

like image 22
CaseyB Avatar answered May 20 '26 19:05

CaseyB



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!