tfrysinger
tfrysinger

Reputation: 1336

Android Studio 4.0 seems to insert random garbage into layout files

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!

enter image description here

Upvotes: 2

Views: 75

Answers (1)

Iscle
Iscle

Reputation: 829

I've been using Android Studio 4 since the beta version came out, and I've had no issues.

This might happen if you have any plugins installed, that might still not be compatible with this newer version.

Upvotes: 2

Related Questions