Android Studio 编译输出中文乱码的解决办法

搜索后找到了一个解决办法:

  • 点击工具栏上的放大镜(即搜索)
  • 输入
Edit Custom VM Options
  • 新建或打开文件studio64.exe.vmoptions

输入

-Dfile.encoding=UTF-8
  • 重启Android Studio

猜你喜欢

转载自blog.csdn.net/quantum7/article/details/108270122