开发者

Android Eclipse, Dropbox, Windows and Linux

I'm us开发者_JAVA技巧ing 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


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


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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜