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

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

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

复制代码
-Defile.encoding=UTF-8

然后 重启AS。

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

  • 双击Shift,输入vmoption,,选择 Edit Custom CM Options
  • 通过 AS--help -- Edit Custom CM Options
相关推荐
阿pin7 小时前
Android随笔-kotlin withContext
android·kotlin·withcontext
树码小子8 小时前
开启 IDEA 中的断言功能
android·java·intellij-idea
Android-Flutter9 小时前
android 动画详解
android·kotlin
小孔龙14 小时前
GraphicBuffer 跨进程共享
android
树码小子14 小时前
Pycharm解释器配置问题解决
ide·python·pycharm
行业研究员15 小时前
Android内置GPS与腾讯地图定位技术对比分析
android·android定位·腾讯地图定位
Android-Flutter15 小时前
android WMS 详解(二)
android·kotlin
游戏开发爱好者816 小时前
App Store 上传 IPA 自动化,.p8 密钥认证与 CI/CD 接入实战
android·运维·ci/cd·小程序·uni-app·自动化·iphone
FlyWIHTSKY17 小时前
idea中集成claude功能
java·ide·人工智能·intellij-idea·cloudera
weixin_4046793117 小时前
godot + vscode ai开发
ide·vscode·编辑器·游戏引擎·godot