Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android emulator screenshot resolution does not match virtual device resolution

I'm trying to get screenshots of my cross platform app at specific resolutions (for App Store submission). I'm working in Windows.

One obvious way of doing this is to create an Android emulator for a device with the target resolution. For instance, here's a device with 2688x1242 resolution:

Android 2688

However, if I take a screenshot on this device via the emulator's screenshot button:

enter image description here

The resulting image is always 1080p (portrait: 1080x1920).

How can I take a screenshot at the virtual device's native resolution?

like image 859
Mud Avatar asked Oct 26 '25 05:10

Mud


1 Answers

I had a similar problem: I created a Pixel 5 emulator with a resolution of 1080x2340, but my screenshots always were 1080x2280.

I now noticed that the emulator's default display somehow was a Pixel 4 display with the wrong resolution.

I was able to fix this problem by editing my virtual device the following way:

  1. Go to AVD Manager
  2. Right click your device and choose Edit
  3. Select Show Advanced Settings
  4. Scroll to Device Frame section
  5. Uncheck Enable Device Frame
  6. Select No Skin for Custom skin definition (there does not seem to be a pre-made Pixel 5 skin currently)

Now I don't have a device frame anymore on my emulator but the screenshots are generated with the expected resolution.

like image 55
flauschtrud Avatar answered Oct 27 '25 19:10

flauschtrud



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!