Android Studio解决Java程序输出中文乱码
摘要:经查阅资料,发现需要手动在build.gradle中添加代码 //新版 tasks.withType(JavaCompile) { options.encoding = "UTF-8" } //旧版,以gradle-1.12为例 tasks.withType(Compile) { options.e
阅读全文
posted @ 2017-10-28 14:45