Skip to content

Doesn't close/exit/quit and freezes on multiple adb devices when none are selected. #6999

Description

@imrobbybobby

Couldn't find an issue after an hour of searching so I'm making one now.

Environment

  • OS: Windows 11
  • Scrcpy version: 4.1
  • Installation method: Tried Winget and Github release binaries
  • Device model: Nothing Phone 2a/irrelevant
  • Android version: 16

Describe the bug

Using scrcpy when multiple adb connections exist, hangs up the powershell window. CTRL + C does nothing and only way to regain access is to manually close scrcpy in task manager. I tried both the winget and github release. Same result, same with and without admin given to scrcpy. Happy to provide more logs if told how to access them. This started in v4.0 but i assumed it wouldve gotten fixed in 4.1 or that anyone else experienced it too.

PS C:\Users\<user> scrcpy
scrcpy 4.1 <https://github.com/Genymobile/scrcpy>
ERROR: Multiple (3) ADB devices:
ERROR:     -->   (usb)  <serial>                device  A142
ERROR:     --> (tcpip)  192.168.0.184:35153             device  A142
ERROR:     --> (tcpip)  adb-<serial>-nqtiPD._adb-tls-connect._tcp            device  A142
ERROR: Select a device via -s (--serial), -d (--select-usb) or -e (--select-tcpip)
ERROR: Server connection failed

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions