在 macOs Big Sur 操作系统上打开 android 模拟器时,android studio UI 显示出现问题,某些背景/颜色变得损坏,例如通知、所选项目、按钮的背景(确定、应用、取消等) )。我尝试过使用 Genymotion 但结果是一样的。当我在同一设备上使用 Windows 操作系统时,不会出现此问题。
我的设备 MacBook Pro 2013 年末
打开模拟器时:
未打开模拟器时:
我在VM选项中添加
-Dsun.java2d.metal=false