I recently upgraded to Android Studio version 4.0. I have started seeing strange behavior whereby layout files get corrupted with seemingly random text. This text is not anything I have typed anywhere in the project.
Why is this happening and what to do about it?
I have done "invalidated caches / restart" several times. Doesn't help. Fortunately I have version control so can recover the damaged files, but this has happened 4 times in the last hour!
