The project encoding (UTF-8) has been reset to the encoding specified in the Gradle build files (UTF-8).
Mismatching encodings can lead to serious bugs.
错误原因:项目编码是UTF-8,而Gradle编码不是UTF-8;
解决方案:
File -> Setting->Editor->File Encodings->设置Global Encoding为UTF-8;