-
Notifications
You must be signed in to change notification settings - Fork 287
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Maestro says emulators are 'not connected' if more than one emulator is 'adb connect'ed. #2167
Open
1 task done
Labels
Comments
sleekweasel
changed the title
Maesto says emulators are 'not connected' if more than one emulator is 'adb connect'ed.
Maestro says emulators are 'not connected' if more than one emulator is 'adb connect'ed.
Dec 2, 2024
I added a try/catch around listAndroidDevices' runcatching{} body, and got this: CAUGHT java.io.IOException: Command failed (host:features): more than one device/emulator
|
I may have a fix for this, see dadb#64. |
Hopefully they'll take mobile-dev-inc/dadb#80 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is there an existing issue for this?
Steps to reproduce
Actual results
Jolly well IS connected:
Yet with just one:
Works fine:
For what it's worth, I'm using Android Debug Bridge version 1.0.41 which I know is a bit old.
Expected results
I expect it to be able to work with multiple 'adb connect'ed emulators.
About app
It's your test sample app and your flow.
About environment
Happens both in a docker container on a Linux 64 box...
$ docker run --rm -it -v $PWD:$PWD --entrypoint bash docker/amazoncorretto:17.0.10
bash-4.2# yum install -y unzip
...
bash-4.2# unzip /maestro.zip
...
bash-4.2# maestro --version
16:21:24.723 [pool-1-thread-1] DEBUG io.micrometer.common.util.internal.logging.InternalLoggerFactory - Using SLF4J as the default logging framework
1.39.2
And on an M1 Macbook: corretto-17.0.12.7.1
Logs
Logs
Maestro version
1.39.2
How did you install Maestro?
built from source (please include commit hash in the text area below)
Anything else?
Built from 5f971ce
I have a couple of days. I'll try to dig around, since I have an easy reproducible test case.
Worst case, my workaround is to use only one emulator for the time being.
The text was updated successfully, but these errors were encountered: