How to resize the AVD emulator (in Eclipse)?

前端 未结 11 1077
栀梦
栀梦 2020-11-28 01:24

I\'m writing my first Android app for a small business that has some Droid phones. I set up an AVD for the phone with the right resolution: 854 pixels high.

I\'m wo

11条回答
  •  盖世英雄少女心
    2020-11-28 02:13

    I definitely recommend running the emulator through terminal or command line because it allows you for much better control.

    For example, if you want to run emulator in different size, you just need to run it like this.

    ~/Android/Sdk/tools/emulator -scale 0.35 -avd Nexus_5_API_23
    

    Nexus_5_API_23 corresponds to existing AVD on my host computer. When you create different Android Virtual Devices, you can just replace it with name of your device and it works. So basically you just run emulator from Android SDK's tools directly. You can also add other parameters like netdelay, netspeed etc.

提交回复
热议问题