Skip to content
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

Multiple Devices Error #93

Open
sean-boothby opened this issue Apr 1, 2022 · 4 comments
Open

Multiple Devices Error #93

sean-boothby opened this issue Apr 1, 2022 · 4 comments

Comments

@sean-boothby
Copy link

I was trying to run ppadb on my computer with two different phones at the same time. It seems like one phone runs fine but the other instance of ppadb keeps outputting error: more than one device/emulator in the console.

Is there a way to use ppadb with two devices simultaneously?
Thank you!

@sean-boothby
Copy link
Author

To add a little background after importing the library I have tried to do this in two different ways.

  1. device = adb.devices[0] , devicetwo = adb.devices[1]
    I also tried
  2. device = adb.device('deviceOneSerial'), devicetwo = adb.device(deviceTwoSerial')

@ebisek-logi
Copy link

number 2 should have worked.
can you give me the output of the 2) scenario

@sean-boothby
Copy link
Author

The output is - error: more than one device/emulator

@sean-boothby
Copy link
Author

I am not exactly sure why but it seems like my issue is gone. I was previously running two separate scripts (one per phone).
I merged the script into one and there is no longer an issue.

Thank you for your help anyways! 🤷‍♂️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants