I'm trying to setup a VCS, in Android studio, to sync my android project between my desktop and my laptop. But it's not looking an intuitive procedure for a noob.
Can someone tell me the exactly steps I need to do?
I'd like to add a remote private Bitbucket repository (mercurial preferred over git), and push/pull changes using Android studio GUI. That's all, no branch, no merge, just a simple sync of java source files and xml resource files.
Is this possible?
Thank you all in advance.
In Android Studio, go to VCS > Enable Version Control Integration. This option won't be visible if it's integrated with any version control before. Then choose Git as the version control system.
Once the VCS integration is enabled in android studio, you can able to see the version control window in the bottom or you can open it using shortcut command Alt+9. Lets explore the version control window.
With Android Studio, you don't need to use the terminal to contribute to an Android project on GitHub. It has native integration with git and GitHub to allow most actions via the Android Studio UI. When you open Android Studio, it offers the option to open a project from version control.
I get occasional upvotes for this answer, so a bit of clarification is needed. The original answer was written, and true, when AS was in beta, before the 1.0 release. Nowdays, as of AS 1.1.0, the VCS integration is included in the IDE out of the box. It works directly with both Bitbucket, Github (git and mercury) and some other VCS:es. So there is no need to play around with plugins for that. Just use the VCS menu and find what you need.
Old outdated answer: Im regularily using the bitbucket plugin. To install it download the BitBucket plugin. In Android studio File->Settings->Plugins and Install plugin from disk where you choose the entire plugin zip. That installs it without fuzz on win 8.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With