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

can not restart device scrcpy server via adb wifi connection #302

Open
eaphone opened this issue Feb 28, 2024 · 0 comments
Open

can not restart device scrcpy server via adb wifi connection #302

eaphone opened this issue Feb 28, 2024 · 0 comments

Comments

@eaphone
Copy link

eaphone commented Feb 28, 2024

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"

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

1 participant