Custom screen density on Android emulator

I want to set a custom screen density for my emulator.

I open the AVD manager.

Right-click on the virtual device.

Show on disk.

Open config.ini

Set "hw.lcd.density = 200"

When I run the emulator, it shows an error: qemu: available lcd densities: 120, 160, 213, 240, 280, 320, 360, 400, 420, 480, 560, 640

Can I use custom densities for an emulator? Can I do this on a real device or on genymotion?

+7
android avd genymotion emulation
source share

No one has answered this question yet.

See related questions:

3606
Close / hide Android soft keyboard
3295
Why is the Android emulator so slow? How can we speed up Android emulator development?
3288
Correct use cases for Android UserManager.isUserAGoat ()?
2609
Is there a unique identifier for an Android device?
2510
How to keep Android activity state by saving instance state?
2097
Is there a way to run Python on Android?
1770
Get screen sizes in pixels
969
How do emulators work and how are they recorded?
960
How to rotate the Android emulator screen?
0
Set the specific abstract LCD density (312) in the emulator

All Articles