ws-scrcpy icon indicating copy to clipboard operation
ws-scrcpy copied to clipboard

can not restart device scrcpy server via adb wifi connection

Open eaphone opened this issue 11 months ago • 0 comments

steps and conditions:

  1. connect the android device via wifi using adb tcpip & connect
  2. make sure usb connection is disconnect
  3. kill & start scrcpy server via web

result: got error output: [ip:5555] stdout: Aborted Device.ts:110 [ip:5555] adb process (-s ip:5555 shell CLASSPATH=/data/local/tmp/scrcpy-server.jar nohup app_process / com.genymobile.scrcpy.Server 1.19-ws5 web ERROR 8886 false 2>&1 > /dev/null) exited with code 4294967174 Device.ts:123 [ip:5555] Server exited: Aborted

additional info: when i try to execute the command at cmd manually, it did start the scrcpy successfully: adb -s ip:5555 shell "CLASSPATH=/data/local/tmp/scrcpy-server.jar nohup app_process / com.genymobile.scrcpy.Server 1.19-ws5 web ERROR 8886 false 2>&1 > /dev/null"

eaphone avatar Feb 28 '24 08:02 eaphone