How to resize the AVD emulator (in Eclipse)?

前端 未结 11 1078
栀梦
栀梦 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 01:59

    The command to open in Command Prompt is given below

    1. emulator -avd [- []] ... [-]. for details see http://developer.android.com/tools/help/emulator.html

    To open a desired size emulator window follow the below command

    • emulator -avd "AVD_Name "-scale "Scale_Value"-dpi-device "dpi"

    Example:

    • emulator -avd "AVD_Name "-scale auto -dpi-device 160/200. with dpi-device value 200

    with dpi-device value 160

    So just change the dpi-value according to your need. Hope u enjoy.

提交回复
热议问题