ws-scrcpy
ws-scrcpy copied to clipboard
can not restart device scrcpy server via adb wifi connection
steps and conditions:
- connect the android device via wifi using adb tcpip & connect
- make sure usb connection is disconnect
- 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"