This is a known bug which reported by many developers and I've faced that once.
The only fix is to reinstall the Android Studio or downloading the new version of the IDE but, don't import the old config when you reinstall or updating it.
To be clear, changing File-Encoding
in settings to UTF-8
or System Default
doesn't work either.