#4391·scrcpy

Crash of adb.exe at launch on Win7x64

Author: ghostCreated Nov 1, 2023Updated Sep 28, 2026

Environment

  • OS: Win7x64
  • scrcpy version: 2.2
  • installation method: scrcpy-win64-v2.2.zip
  • device model: LG Nexus 5X
  • Android version: Android 8.1.0

Describe the bug The application crashes at launch (via a .bat file) due to adb.exe. The crash does not occur with the previous version (2.1.1).

D:\portable\scrcpy>scrcpy --select-usb --turn-screen-off --power-off-on-close --
no-audio --kill-adb-on-close
scrcpy v2.2 <https://github.com/Genymobile/scrcpy>
* daemon not running; starting now at tcp:5037
could not read ok from ADB Server
* failed to start daemon
error: cannot connect to daemon
ERROR: "adb start-server" exited unexpectedly
ERROR: Could not start adb server
INFO: Killing adb server...
ERROR: Server connection failed