Android studio控制台 输出乱码解决方法

在AS的安装目录,找到 studio64.exe.vmoptions 文件,

图片[1] - Android studio控制台 输出乱码解决方法 - MaxSSL

用编辑器打开文件,在最后面加上下面的代码:

-Defile.encoding=UTF-8

图片[2] - Android studio控制台 输出乱码解决方法 - MaxSSL

然后 重启AS

注意: 下面两种方式也能打开studio64.exe.vmoptions 文件,但是需要确认是不是和你使用的AS在同一安装目录:

  • 双击Shift,输入vmoption,,选择 Edit Custom CM Options
  • 通过 AS–help – Edit Custom CM Options
    图片[3] - Android studio控制台 输出乱码解决方法 - MaxSSL
© 版权声明
THE END
喜欢就支持一下吧
点赞0 分享