Your second approach works, but you used an invalid DPI number.
After creating the emulator, open ~ / .android / avd / my_avd / config.ini and add:
hw.lcd.density=560
You can only select the following DPIs:
120, 160, 213, 240, 280, 320, 360, 400, 420, 480, 560, 640
npkllr
source share