Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Should I commit misc.xml in Android Studio project?

I recently start my Android development journey and found that there is a file called misc.xml in my project. I have read the JetBrains' article on how to manage a project in version control system. I have also walked through Android.gitignore file on a GitHub repository as well.

The article mentions we could commit misc.xml (because it is not in any exception) while Android.gitignore said we could omit the complete .idea folder and misc.xml.

So..

  1. What do you think on this?
  2. Is there any way I could get help from support to have an official answer?

P.S. I found that some absolute paths are being inject to misc.xml, and that frustrates me.

Absolute path

like image 747
Matt C Avatar asked Mar 13 '26 23:03

Matt C


1 Answers

misc.xml is not associated with the app which you are making. Thats actually created by Android Studio itself to keep track of some paths. You can ignore that using .gitignore.

like image 186
Charitra Agarwal Avatar answered Mar 16 '26 11:03

Charitra Agarwal



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!