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

Error multiple adb devices #5321

Open
Danikny opened this issue Sep 26, 2024 · 8 comments
Open

Error multiple adb devices #5321

Danikny opened this issue Sep 26, 2024 · 8 comments

Comments

@Danikny
Copy link

Danikny commented Sep 26, 2024

Por favor necesito ayuda urgente. Cuando tengo la web cam conectada al puerto usb no me abre el programa para duplicar el móvil pero si la desconecto si me deja, como puedo solucionarlo? por favor explíquenmelo detallado, gracias.
ERROR: Multiple (2) ADB devices:
ERROR: --> (usb) F65P75Y5D6WK4HCI device 2311DRK48G
ERROR: --> (usb) Ucamera001 offline
ERROR: Select a device via -s (--serial), -d (--select-usb) or -e (--select-tcpip)
ERROR: Server connection failed
Press Enter to continue...

@rom1v
Copy link
Collaborator

rom1v commented Sep 26, 2024

If there are several device connected, you must select the one you want:
https://github.com/Genymobile/scrcpy/blob/master/doc/connection.md#selection

For example:

scrcpy -s  F65P75Y5D6WK4HCI

@Danikny
Copy link
Author

Danikny commented Sep 26, 2024

pero donde tengo que poner esto? y donde me aparece si esta correcto porque estoy haciéndolo y no tengo resultados

@rom1v
Copy link
Collaborator

rom1v commented Sep 26, 2024

(in English, please)

Read this to know how to execute scrcpy with arguments: https://github.com/Genymobile/scrcpy/blob/master/doc/windows.md#run

@Danikny
Copy link
Author

Danikny commented Sep 26, 2024

But where do I have to put this? And where it appears to me if it's correct because I'm doing it and I don't have results

@Danikny
Copy link
Author

Danikny commented Sep 26, 2024

ERROR: Could not find ADB device F65P75Y5D6WK4HCI:
ERROR: (usb) Ucamera001 offline
ERROR: Server connection failed

@rom1v
Copy link
Collaborator

rom1v commented Sep 26, 2024

(^ please post the whole console content, from the command you executed to the end of the scrcpy output)

What's the result of adb devices?

@Danikny
Copy link
Author

Danikny commented Sep 26, 2024

C:\Users\PC\Desktop\scrcpy-win64-v2.7>adb devices
List of devices attached
F65P75Y5D6WK4HCI device
Ucamera001 offline

@rom1v
Copy link
Collaborator

rom1v commented Sep 26, 2024

OK, so:

adb devices -l
adb -s F65P75Y5D6WK4HCI shell echo hello_world
scrcpy -s F65P75Y5D6WK4HCI

?

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