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:
- Put the Windows version in the Dropbox
- Create a new Android Project with the same name in Linux somewhere other than Dropbox
- 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.
精彩评论