-
-
Notifications
You must be signed in to change notification settings - Fork 11k
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
What causes the "more than one divice/emulator" and how do I fix it? #485
Comments
The problem is you have more than one devices connected to your PC. Using And start |
Thank you, I will investigate and try this. |
Just as a general FYI, if you have emulators running on your computer, those are also considered "other devices" by adb |
A restart of computer and phone fixed it. But thanks! |
If you were connected both via USB and via |
An excellent contribution, good work bredrin |
I have the same issue cause I have multiple emulators running while I'm trying to use scrcpy just for my usb device. (scrcpy does work while the emulators are off, but I want to use it while they are on.) I have tried [scrcpy -s ****** and scrcpy usb] however it hits me with the "error: device unauthorized." When I [adb devices] while my phone is plugged in and have the emulators running only my phone shows up in devices. (unauthorized) Yes phone usb debugging is on. How can I get everything working at the same time? EDIT: Easy solve lol |
The correct answer is:
|
Interesting. If I connect a device via USB, then connect via |
This message is printed by Whenever there are several devices connected (i.e. several lines in
See highlights of v1.21: https://github.com/Genymobile/scrcpy/releases/tag/v1.21 |
Yeah I'm familiar with it, but the operation is a bit confusing to me sometimes.. What happens for me is, I plug it into USB:
OK, it's ready to go via TCP/IP if I "want it" But I want to connect again via USB before unconnecting it, so I run scrcpy again:
Then it's like "oh shoot, let me try connecting via tcp"
Which is a "mis use", but with it plugged in it feels like I can connect to neither now (since running that initially caused a connection). Suggestion/feature requests: parse the output of adb so you can give a hint that they need to select a particular device, or run |
Yes, I'm aware of this source of confusion (I have already been confused by this). As soon as there are several devices (according to
I agree, |
those who are noob like me [TARGET DEVICE'S SERIAL] means the device IP address |
yes, |
Hi, the newbie here again.
For some reason I can no longer launch scrcpy.
after typing the usual adb tcpip and followed by the adb connect plus scrcpy I get:
adb: error: connect failed: more than one device/emulator
ERROR: adb push" returned with value 1
So, what causes this and how can I fix it?
The text was updated successfully, but these errors were encountered: