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

Is there any chance to execute the screen mirroring among another frameworks?? #4249

Closed
oAmarilha opened this issue Aug 21, 2023 · 2 comments

Comments

@oAmarilha
Copy link

Hi there, how are you doing??
I'm a tester from Brazil and I'm doing tests automated in airtest (python framework) and I would like if the screen could be share in my pc while the test is executed, but airtest gets the instance from adb and when I started scrcpy the framework losts the instance and can't continue the test, is there any method to work around this and share the screen belong the test??

@rom1v
Copy link
Collaborator

rom1v commented Aug 21, 2023

I don't know the context, but:

when I started scrcpy the framework losts the instance

Your "framework" is probably using an adb version different from that of scrcpy. Use the same version everywhere and adb instances won't kill each other.

https://github.com/Genymobile/scrcpy/blob/master/FAQ.md#conflicts-between-adb-versions

@oAmarilha
Copy link
Author

oAmarilha commented Aug 21, 2023

Genius, tks Buddy, it worked perfectly, I just put scrcpy inside the same adb environment where my framework is executing and called it in a thread, tks again (I updated adb version too).

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