lundi 26 janvier 2015

Android AVD not displaying appropriate scale


How do I fix the display on my android AVD? The UI is completely out of whack. I'm using the following command line options to launch the AVD, but nothing I do within the 'scale' and 'dpi-device' options helps fix the messed up display (see example screenshot). I'm running on Arch Linux with the latest Nvidia proprietary driver 346.35. Any help is greatly appreciated.


Command:



$ emulator -verbose -scale 0.9 -dpi-device 480 -noaudio -no-boot-anim -noskin -no-snapshot @lollipop -qemu -m 1536 -enable-kvm


Also, according to this StackOverflow post, I also did:



$ adb shell setprop qemu.sf.lcd_density 480
$ adb shell stop
$ adb shell start


Doing this has made no difference to the messed up display on my emulator.


Note that I have to use the -noskin option because it refuses to launch the emulator for me otherwise.


AVD display 2 AVD display 1





Aucun commentaire:

Enregistrer un commentaire