since it's not recommended to ignore the entire .idea folder in Android Studio most files in there are tracked by git. The strange thing however is that, after every launch, the same line is added to vcs.xml even if there are already dozens of them.
<mapping directory="$PROJECT_DIR$" vcs="Git" />
This gets old pretty quickly.
Is there a purpose for this behaviour or is it simply a bug? Further can Android Studio be prevented from doing such modifications when it is launched?
Thanks in advance.
Edit: Also ./idea/misc.xml constantly changes between JDK_1_7
and JDK_1_8
.
I highly recommend you to read this StackOverflow post: What should be in my .gitignore for an Android Studio project? as you would find here explanation which files should be ommitted on git push.
Personally, I don't commit ./idea/misc.xml
and vcs.xml
. I added them to .gitignore
file. I'm using for this purpose template taken from: https://github.com/github/gitignore/blob/master/Android.gitignore
Hope it will help
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