Android Studio is replacing files in my projects. It mainly affects layout files. Mostly it looks like this:
Most of the time the app is still able to build and run without errors. I can easily restore these files through Git, but it's really annoying.
This doesn't appear for any reason, like a crash or something like that.
I'm running Android Studio 4.0.1 Build #AI-193.6911.18.40.6626763, built on June 25, 2020 Runtime version: 1.8.0_242-release-1644-b01 amd64
Has anyone encountered something similar and knows how to fix it?