At random points while I\'m using my Android application, LogCat is flooded with dozens of repetitions of the following 5 lines:
I filed a bug report with the Android team, as I still couldn't explain or fix this issue. The bug report is here. A commenter suggested that I uncheck "Enable view attribute inspection" in the Developer Options. Lo and behold, this problem is now fixed! I don't remember ever checking that, which is weird, but at least I now know what causes this problem.