How to create new emulator with custom screen size?

后端 未结 3 1230
野的像风
野的像风 2021-01-02 22:47

In avd manager, when I try to create new avd, there was skin section. But after updating sdk, I cant see this section. How can I use my own screen size instead of existing s

相关标签:
3条回答
  • 2021-01-02 23:02

    If you are using the latest version of AVD Manager, you will find a new tab labelled ** Device Definition**.

    Here select new Device, and then specify your Screen Size(in) and Resolution(px). You can also specify Size, Screen Ratio and Density besides other things.

    enter image description here

    0 讨论(0)
  • 2021-01-02 23:04

    Open the Android Virtual Device Manger go to Device Definition tab, create a new device.Then, Create a new emulator and choose your device from the drop down menu.

    0 讨论(0)
  • 2021-01-02 23:05

    If running the emulator from the command line, you can use the -skin option:

    emulator @foo -skin 800x600
    

    See: Start the emulator from the command line

    0 讨论(0)
提交回复
热议问题