Android Emulator Screen Size not the same as device frame

前端 未结 4 1267
礼貌的吻别
礼貌的吻别 2021-01-12 20:22

When I run the emulator the screen size is smaller than the device frame as in the image below. It only happens in a computer with a screen resolution of 3840 x 2160

4条回答
  •  太阳男子
    2021-01-12 20:48

    I have a Dell XPS 13 with a screen resolution of 3200 x 1800 and I had exactly the same problem.

    After playing with the settings I found a (temporary) solution in Android Studio:

    Navigate to Tools -> Android -> AVD Manager

    1. Click on "edit this AVD"(the one with the pencil drawing)
    2. In the "Emulated Performance" click the "Software.." option (Image below)

    This way the rendering is made from software and not from the graphics card. It definitely effects the performance but maybe for a test it's ok.

    Alternative suggestion: I tested the emulator from Genymotion and it works. It is free for personal users and maybe a good option if you want something faster.

提交回复
热议问题