问题
I have added my Android Studio project to Subversion. When I go to changes, all of my files are listed under "Unversioned Files". I have tried opening from Subversion by selecting "Check out from Version Control", but even after doing this I ended up with all files marked as Unversioned.
If I try to add those files, I get the following error: Error:Cannot find CVSROOT for file ...
How do I get Android Studio to properly work with SVN?
回答1:
Ah, this is really silly, but took me forever to find out. By default, Android Studio seems to pick CVS as the version control for the project, even though I was checking the project out from Subversion! Bug, AFAIK.
Here is the fix:
- File | Settings
- Under project settings on the left, select Version Control
- On the right, select Subversion from the dropdown next to the directory (VCS column)
Problem solved!

来源:https://stackoverflow.com/questions/24215368/android-studio-subversion-files-are-marked-as-unversioned