Android Studio not recognizing imported Module as Git -


i searched internet on solution problem , maybe using wrong keywords:

i imported open source library module android project version controlled svn. use git , after deleting of .svn folders committed library git command line. however, after doing android studio still highlights them red meaning unknown vcs. when try add module vcs through android studio brings massive error saying each file not recognized .svn! have deleted .svn files have no idea issue lie.

any suggestions debugging (or easier ways eliminate svn , put git) appreciated.

i able solve problem in ".idea/vcs.xml" file in project root. here's issue:

<?xml version="1.0" encoding="utf-8"?> <project version="4">   <component name="vcsdirectorymappings">     <mapping directory="$project_dir$" vcs="git" />     <mapping directory="$project_dir$/sdktools" vcs="svn" />   </component> </project> 

by deleting line:

<mapping directory="$project_dir$/sdktools" vcs="svn" /> 

android studio able see files had been indeed added git , display normally.

the other step took rid of svn manually deleting of .svn files hidden in each directory. if there more simple way through command line/git please feel free post.


Popular posts from this blog

php - How should I create my API for mobile applications (Needs Authentication) -

5 Reasons to Blog Anonymously (and 5 Reasons Not To)

Google AdWords and AdSense - A Dynamic Small Business Marketing Duo