share eclipse workspace into dropbox between two computers
Hello.
First of all... Happy New Year !
I'm new using eclipse and android sdk.
I Would like to know if it is possible to share the eclipse workspace folder into dropbox to share an eclipse project between 2 computers?
And working with him on both computers but never at same time.
I tried to do a little test and I think it run's ok.
I have the same eclipse and sdk components in both computers, and also the workspace on dropbox.
The eclipse console send this message when open the project in one or other computer (never both at same time)
[2012-01-02 23:10:17 - com.android.ide.eclipse.adt.internal.project.Andro idManifestHelper] Unable to read D:\MisDoc\Dropbox\workspace\test\AndroidManifest.x ml: org.eclipse.core.internal.resources.ResourceExcept ion: El recurso no está sincronizado con el sistema de archivos: /test/AndroidManifest.xml.
[2012-01-02 23:10:17 - test] AndroidManifest.xml does not declare a Java package: Build aborted.
[2012-01-02 23:12:51 - test] ------------------------------
[2012-01-02 23:12:51 - test] Android Launch!
[2012-01-02 23:12:51 - test] adb is running normally.
[2012-01-02 23:12:51 - test] Performing ev3c.android.test.TestActivity activity launch
[2012-01-02 23:12:51 - test] Automatic Target Mode: launching new emulator with compatible AVD 'and2.1'
[2012-01-02 23:12:51 - test] Launching a new emulator with Virtual Device 'and2.1'
[2012-01-02 23:13:01 - Emulator] emulator: WARNING: Unable to create sensors port: Unknown error
[2012-01-02 23:13:01 - test] New emulator found: emulator-5554
[2012-01-02 23:13:01 - test] Waiting for HOME ('android.process.acore') to be launched...
[2012-01-02 23:14:16 - test] HOME is up on device 'emulator-5554'
[2012-01-02 23:14:16 - test] Uploading test.apk onto device 'emulator-5554'
[2012-01-02 23:14:16 - test] Installing test.apk...
[2012-01-02 23:14:32 - test] Success!
[2012-01-02 23:14:32 - test] Starting activity ev3c.android.test.TestActivity on device emulator-5554
[2012-01-02 23:14:36 - test] ActivityManager: Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] cmp=ev3c.android.test/.TestActivity }
Then the emulator run and the changes I made in the laptop appears in my computer.
Only a line of text... I have to try buttons and more... I'm learning yet.
Is it possible to do ?
Do you know other way to share the android/eclipse code between two computers?
We don't get many developers in the Android Lounge, and while we do an area for Android development, I think Eclipse is popular enough (I use it) that maybe you'll get more answers here in our Computers & IT forum.
I don't have the answer, but hopefully someone here does.
You might want to look at Git/SVN and sharing your repository via dropbox, or even better putting it on a secure server and use some type of SSL or SSH connection.
As for the warnings, I'd say that it might have something to do with your setups. Eclipse and Android save some preferences in your user folder, and it looks like you are on windows.
The user folder is in C:\Users\(your_user_name)\.android\
I'm not sure if that would be enough to fix it. You'd probably want to be sure you have the same paths on both computers, sdk in same places, same username, etc....
You might want to open and look at the project file too.
I would advise you not change the location of that folder, however I think dropbox will allow you to add folders for it to "sync" -- check in the dropbox program on your PC and see if there is a place to add folders.
You may not have to though, I'm just trying to give you ideas.
I'm not sure what else I can say as I have not used dropbox this way either. Sorry
I don't know whether it's possible/practical to accomplish the OP's question, but another potentially simpler approach would be to use remote desktop software. Then there are no concerns about migrating or integrating parallel development environments. UI performance probably won't be very snappy though.
I don't know whether it's possible/practical to accomplish the OP's question, but another potentially simpler approach would be to use remote desktop software. Then there are no concerns about migrating or integrating parallel development environments. UI performance probably won't be very snappy though.
Yes, but then I need to have the computer on to access by my laptop... no?