Reading through the documentation over developer.android.com regarding the emulator
command line tool (now released separately since Android SDK 26.0.0), you can see the deprecated list of flags. One of them is -skin
, but I cannot find any alternative to it.
I want to assign skins to my emulators created on a remote CI server with no display, but I want to ensure that the orientation and the display resolution is properly set, and from my testing I could only get that right when settings -skin
flag to a given configuration.
Any tips of how to replace -skin
flag or to achieve the same results without it?
Here's the version of the emulator I am running:
Android emulator version 26.1.0.0 (build_id 4010741)
Here's the command I use to create the avd:
avdmanager --verbose create avd --force \
--name "Nexus72012" \
--package "system-images;android-19;google_apis;x86" \
--sdcard 1000M \
--device 13
And this is how I start up the avd:
emulator @Nexus72012 -wipe-data -verbose -logcat '*:e *:w' -netfast -no-boot-anim -no-audio -no-window
Please note, I am limited to command line solutions, therefore please keep your answers targeted at that