How do you turn off version control in android studio?

AndroidVersion ControlAndroid Studio

Android Problem Overview


I set up my Github with android studio, everything worked fine, the problem now is though, that I can't seem to turn off, or get out of version control to use the IDE normally again.

This means that errors aren't shown, and it is really hard to debug because of this.

So how do I turn off version control (VCS) in Android Studio?

Android Solutions


Solution 1 - Android

To disable VCS in Android Studio on a Mac do the following:

Android Studio > Preferences...

enter image description here

In the Preferences window, select Version Control and under Directory choose VCS dropdown to be <none>

enter image description here

Don't forget to click "Apply" in the general Preferences buttons at the bottom.


For 2021...

It would seem that Android Studio nowadays does not automatically start with version control turned on for a new project.

The default seems to be "off" at the beginning of a new project.

(It does conveniently make a ".gitignore" file for you but it does not default to trying to use version control.)

However, if later you do manually yourself start using git in the folder in question, Studio does turn on vcs inside Studio, i.e. exactly as seen in the image above. In that case you'll have turn it off inside Studio, exactly as shown above.

Solution 2 - Android

In Android Studio 1.2.x

FILE -> SETTINGS -> VERSION CONTROL

Here the root is shown, Press (-) button to delete.

Solution 3 - Android

The other answers weren't working for me, so I am adding my solution.

This message was driving me crazy:

enter image description here

I had trouble with the other suggestions, as my settings was not allowing me to save changes for version control none.

enter image description here

So I went into Version Control / Ignored Files and removed all ignored files for that project.

enter image description here

enter image description here

Then when I clicked back on Version Control

enter image description here

I found this in this answer here.

Solution 4 - Android

VCS is a project specific setting which you can modify by going to File -> Settings then checking under the Version Control heading.

Alternatively, you could disable a specific VCS plugin under the Plugins heading.

Note: I have not used GitHub as VCS, but you should still be getting error display (syntax checking) in the IDE. VCS usage should not disable that, since that would make the use of an IDE completely pointless.

Solution 5 - Android

You can delete vcs.xml file and it will remove the VCS connected with your app. 'vcs.xml' file can be found in this location "YourProject\ .idea\vcs.xml"

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionDaniel ScottView Question on Stackoverflow
Solution 1 - AndroidAdam JohnsView Answer on Stackoverflow
Solution 2 - AndroidHemant SharmaView Answer on Stackoverflow
Solution 3 - Androiduser3956566View Answer on Stackoverflow
Solution 4 - Androidfree3domView Answer on Stackoverflow
Solution 5 - AndroidAjith PandianView Answer on Stackoverflow