android-emulator-runner icon indicating copy to clipboard operation
android-emulator-runner copied to clipboard

Add android-desktop target option

Open alexvanyo opened this issue 2 years ago • 3 comments

Adds android-desktop target option to fix #313

alexvanyo avatar Feb 09 '23 00:02 alexvanyo

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:)

ychescale9 avatar Feb 09 '23 00:02 ychescale9

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?

alexvanyo avatar Feb 09 '23 02:02 alexvanyo

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.

ychescale9 avatar Feb 09 '23 02:02 ychescale9