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.

The project encoding (UTF8) has been reset to the encoding specified in the Gradle build files UTF-8

错误原因:项目编码是UTF-8,而Gradle编码不是UTF-8;

The project encoding (UTF8) has been reset to the encoding specified in the Gradle build files UTF-8

 

解决方案:

File -> Setting->Editor->File Encodings->设置Global Encoding为UTF-8;

The project encoding (UTF8) has been reset to the encoding specified in the Gradle build files UTF-8

相关文章:

  • 2021-09-24
  • 2022-12-23
  • 2021-07-15
  • 2021-11-29
  • 2022-01-18
  • 2021-09-15
猜你喜欢
  • 2022-12-23
  • 2021-04-26
  • 2021-11-26
  • 2022-12-23
  • 2021-07-26
  • 2021-10-15
  • 2022-12-23
相关资源
相似解决方案