I’m trying to configure the screenshot tests for android application.
So, I’ve using the android emulator that provides from CircleCI, and the emulator that I ran independent of Android version, the screen size is 320x640. But It’d be great to have a opportunity to run emulators with different screen sizes.
Do we have any ways to change that screen resolution, or all devices that uses from CircleCI is 320x640?
You can add a step to edit the config.ini for your avd which should be located at
~/.android/avd/<<your avd name>>.avd/config.ini right after you create your avd. Look for the properties
hw.lcd.width and change it to the value you desire. Starting your avd now should apply the height and width you chose.