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

After upgrading into the 1.18, the server version (1.17) does not match the client (1.18) #2409

Closed
Onemaeus97 opened this issue Jun 21, 2021 · 4 comments · Fixed by javascript-indonesias/scrcpy#55

Comments

@Onemaeus97
Copy link

Hi, after upgraded into the newest version of 1.18 (which i build under instructions of https://github.com/Genymobile/scrcpy/blob/master/BUILD.md. I have a java exception of the server version (1.17) does not match the client (1.18):

INFO: scrcpy 1.18 https://github.com/Genymobile/scrcpy
/usr/local/share/scrcpy/scrcpy-server:...shed. 3.0 MB/s (34930 bytes in 0.011s)
[server] ERROR: Exception on thread Thread[main,5,main]
java.lang.IllegalArgumentException: The server version (1.17) does not match the client (1.18)
at com.genymobile.scrcpy.Server.createOptions(Server.java:134)
at com.genymobile.scrcpy.Server.main(Server.java:248)
at com.android.internal.os.RuntimeInit.nativeFinishInit(Native Method)
at com.android.internal.os.RuntimeInit.main(RuntimeInit.java:338)
WARN: Killing the server...

Can somebody tell me what i might have done wrong during the process? Thanks!

@rom1v
Copy link
Collaborator

rom1v commented Jun 21, 2021

Did you build using the prebuilt server? If so, you need the new prebuilt server v1.18 too :)

@rom1v
Copy link
Collaborator

rom1v commented Jun 21, 2021

Oh, I forgot to update install_release.sh 🤦

@rom1v rom1v closed this as completed in ab12b6c Jun 21, 2021
@rom1v
Copy link
Collaborator

rom1v commented Jun 21, 2021

Fixed, please git pull and retry 😉

@Onemaeus97
Copy link
Author

Thank you buddy! @rom1v

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

Successfully merging a pull request may close this issue.

2 participants