美文网首页
AndroidStudio Build Output窗口输出乱码

AndroidStudio Build Output窗口输出乱码

作者: DD_Dog | 来源:发表于2022-05-25 13:47 被阅读0次

1、打开VM Options


image.png

2、编辑该文件,末尾添加-Dfile.encoding=UTF-8

# custom Android Studio VM options, see https://developer.android.com/studio/intro/studio-config.html
-Xmx768m
-XX:ReservedCodeCacheSize=240m
-Dfile.encoding=UTF-8

3、重启AndroidStudio

相关文章

网友评论

      本文标题:AndroidStudio Build Output窗口输出乱码

      本文链接:https://www.haomeiwen.com/subject/pwmeprtx.html