maestro icon indicating copy to clipboard operation
maestro copied to clipboard

Unable to run on specific device when there are more than 1 device connect to the system

Open EricJr005 opened this issue 1 year ago • 8 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues and didn't find mine.

Steps to reproduce

  1. Having more than 1 devices plug into a system
  2. Use --device to specify a device to run test on.
  3. Observe errored results

Actual results

Hello,

I have 2 Android devices connect to my linux system (Ubuntu 20.04.6 LTS) and I am trying to use to suggested solution on targeting specific devices to run test https://maestro.mobile.dev/advanced/specify-a-device. However, I am unable to run test as it shows on the screenshot that devices it is not connected.

*Interesting note, I can run test if I only have one device connect to my system but that defeats the purpose specifying a device.

Screenshot 2024-10-21 at 2 11 07 PM

Expected results

Based on your instruction, I would expect that I can specific a device to run test on.

About app

it is on the Bell TV app which is support both IOS and Android. It is however closed source.

About environment

Ubuntu 20.04.6 LTS

Logs

Logs
<!-- Replace this line with your logs. *DO NOT* remove the backticks! -->

Maestro version

1.39.0

How did you install Maestro?

other (please specify in the text area below)

Anything else?

curl -fsSL "https://get.maestro.mobile.dev" | bash -pre your instruction https://maestro.mobile.dev/getting-started/installing-maestro

EricJr005 avatar Oct 21 '24 18:10 EricJr005

I can't reproduce this using emulators, which suggests that this issue is specific to either the local environment, or has been fixed in a more recent version of Maestro.

Were you able to make any progress?

Fishbowler avatar Jan 04 '25 16:01 Fishbowler

Hello @Fishbowler I just checked it again and upgraded Maestro and all other packages on the system and i still have the same issue: Image

What would you recommend for me to try? I tried it on another system with newer JDK is still the same: Image

Thanks,

EricJr005 avatar Jan 21 '25 15:01 EricJr005

Are you able to give some more detail (or a link to steps you followed) as to how you're setting up the ADB over IP? I wonder if this is the key differentiator between setups.

Fishbowler avatar Apr 01 '25 15:04 Fishbowler

Without some more information on the context of this issue, I'm concerned that it'll never get fixed

Fishbowler avatar Nov 27 '25 17:11 Fishbowler

This is on an old maestro version, let me try this again on my Linux devices since I have been using Macs.

EricJr005 avatar Nov 28 '25 13:11 EricJr005

sorry, I will attempt on Wednesday (Dec 3rd) when i am in the lab. Somehow the system have no devices connect to it.

EricJr005 avatar Dec 01 '25 15:12 EricJr005

Image

Hello, Hello, Please advice the next steps. I still have this issue. Thanks,

EricJr005 avatar Dec 03 '25 16:12 EricJr005