You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am creating screenshots with flutter drive, but no matter which device I choose, the height of the images is never correct.
For Nexus 5X the resolution is 1080 x 1794 and should be 1080 x 1920.
For Pixel the resolution is 1080 x 1776 and should be 1080 x 1920.
For Pixel XL the resolution is 1440 x 2392 and should be 1440 x 2560.
There used to be a flag you could pass e.g. emulator -skin 1080x1920 but it is now deprecated. I'm not sure what replaced it but you can check out this snippet for altering resolution / density in the config.ini file after emulator creation.
Hi,
I am creating screenshots with flutter drive, but no matter which device I choose, the height of the images is never correct.
For
Nexus 5X
the resolution is1080 x 1794
and should be1080 x 1920
.For
Pixel
the resolution is1080 x 1776
and should be1080 x 1920
.For
Pixel XL
the resolution is1440 x 2392
and should be1440 x 2560
.Emulator:
If I run flutter drive locally with the emulator the resolution for pixel 2 or nexus 5x is correct
1080 x 1920
.I want to use the screenshots later in
fastlane frameit
and always receive the errorUnsupported screen size [1080, 1776] for path './screenshot.png'
What am I doing wrong?
Thanks in advance!
The text was updated successfully, but these errors were encountered: