每次当我开始一个新项目的时候,gradle这个结束后它显示了这个警告我。
Every time when i start a new project, after gradle finishes it shows this warning to me.
Warning:The project encoding (windows-1252) does not match the encoding specified in the Gradle build files (UTF-8). This can lead to serious bugs.
有没有人知道如何解决这个问题?
Is anyone know how to overcome this issue?
当你得到警告,点击打开文件编码设置。那么这两个IDE编码和编码项目为UTF-8选择框更改。您还可以更改默认的编码在设置菜单的底部。
When you get that warning, click on Open File Encoding Settings. Then change both IDE Encoding and Project Encoding to UTF-8 from the select box. You can also change the default encoding at the bottom of the settings menu.