android-emulator-runner
android-emulator-runner copied to clipboard
Add android-desktop target option
Adds android-desktop target option to fix #313
Thanks! Do you mind adding android-desktop target to one of the jobs in the main.yml workflow so we can see how well it runs on GA? If it works well let's also update README.md and action.yml to include the new target:)
After a few attempts, added tests and a new workflow action for the device.
The workflow appears to be failing on the creation step with "Error: No device found matching --device desktop_medium.", which is a bit strange since the same command works for me locally:
~/Android/Sdk/cmdline-tools/latest/bin/avdmanager create avd --force -n test --abi 'android-desktop/x86_64' --package 'system-images;android-32;android-desktop;x86_64' --device 'desktop_medium' --sdcard '100M'
Not sure if that seems familiar?
It usually happens when the latest emulator binary or the system image for a newer API level is buggy / unstable.
I'll find some time to take a closer look.