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 yaolunhui 阅读(1304) 评论(0) 推荐(0)
浙公网安备 33010602011771号