一、 設置 file- setting -file encodeing- 設置utf-8 gradle
2 、 build.gradle 添加ui
tasks.withType(JavaCompile) { options.encoding = "UTF-8" }