AndroidStudio報Error:(13, 15) 錯誤: 編碼GBK的不可映射字符

AndroidStudio3.0.1 Gradle Version爲3.3,報錯Error:(13, 15) 錯誤: 編碼GBK的不可映射字符。android 解決辦法:在報錯的項目Gradle中添加app tasks.withType(JavaCompile) { options.encoding = "UTF-8" } 添加位置在 apply plugin代碼的下一行,android{
相關文章
相關標籤/搜索