About the problem of wrong screen ratio of mobile phone virtual machine in Android Studio(关于Android Studio中手机虚拟机屏幕比例不对的问题)

Uncategorized
755 words

真是人生无常,大肠包小肠

Holy,what an emotional damage

Solution 1

  • 取消勾选Enable Device Frame的选项
    Uncheck the Enable Device Frame option

PS:针对部分机型有效

PS: Valid for some models

Solution 2

  • 调整电脑显示缩放比例,只是和网上说的操作顺序有所不同,如下

    • step1:调整电脑缩放比例为125%
    • step2:打开安卓虚拟机
    • step3:再将电脑缩放比例调回默认
    • 问题解决
  • Adjusting the display scaling of the computer is just different from the order of operations mentioned on the Internet, as follows

    • step1: Adjust the computer zoom ratio to 125%
    • step2: Open the Android virtual machine
    • step3: Then adjust the computer scaling back to the default
    • problem solved

PS:操作的步骤很重要,在调了缩放比例之后打开虚拟机,再将缩放比例调回初始值

PS: The steps of operation are very important. After adjusting the scaling ratio, turn on the virtual machine, and then adjust the scaling ratio back to the initial value.

Solution 3

  • 新建AVD
    New AVD

如果前两种方法都不能解决,可以试下该种方法

If the first two methods do not solve the problem, you can try this method