android-emulator-runner
android-emulator-runner copied to clipboard
How to connect with specific device name?
Always, more than 2 devices are adb connected with my self runner pc. This action try to connect with AVD but there are devices more than one. So I always need to disconnect all other devices while retyring connect adb from this action. Is there any way to declare the AVD device name in action workflow?
@dh-Kang Are you by any chance using flutter? If yes, you can just add in the script variable something like -d <name>:
script: flutter drive --driver=test_driver/integration_test.dart --target=integration_test/app_test.dart -d 'emulator'
@dh-Kang I believe you can specify the device name in the action Input, then put force-device-creation to false.
You can also specify the device with an env variable, see this article