android studio 亂碼

一、 設置 file- setting -file encodeing- 設置utf-8 gradle

 2 、  build.gradle 添加ui

tasks.withType(JavaCompile) {
    options.encoding = "UTF-8"
}
相關文章
相關標籤/搜索