Search code examples
androidandroid-studiojetbrains-ide

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


Solution

  • 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.