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

server version #4920

Closed
1bharath-yadav opened this issue May 13, 2024 · 2 comments
Closed

server version #4920

1bharath-yadav opened this issue May 13, 2024 · 2 comments

Comments

@1bharath-yadav
Copy link

arch linux

scrcpy --list-cameras

scrcpy 2.3.1 https://github.com/Genymobile/scrcpy
INFO: ADB device found:
INFO: --> (usb) Q8JR4DUCLJIRKVPZ device 2201117PI
/usr/local/share/scrcpy/scrcpy-server: 1 file pushed, 0 skipped. 70.9 MB/s (65851 bytes in 0.001s)
[server] ERROR: The server version (2.3) does not match the client (2.3.1)
java.lang.IllegalArgumentException: The server version (2.3) does not match the client (2.3.1)
at com.genymobile.scrcpy.Options.parse(Options.java:237)
at com.genymobile.scrcpy.Server.internalMain(Server.java:216)
at com.genymobile.scrcpy.Server.main(Server.java:199)
at com.android.internal.os.RuntimeInit.nativeFinishInit(Native Method)
at com.android.internal.os.RuntimeInit.main(RuntimeInit.java:389)

@rom1v
Copy link
Collaborator

rom1v commented May 14, 2024

Your sever (in /usr/local/share/scrcpy/scrcpy-server) does not match the client. How did you install scrcpy?

Btw, the latest version is 2.4 currently.

@1bharath-yadav
Copy link
Author

Sorry
Actually I first install 2.3.1 from source code later I installed from Pacman without deleting the 2.3.1 configurations.
Solved by. sudo Pacman -Rns scrcpy && sudo Pacman -S scrcpy.

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

2 participants