barry-ran / QtScrcpy

Android real-time display control software
https://blog.csdn.net/rankun1/article/details/87970523
Apache License 2.0
20.03k stars 2.64k forks source link

**resolved** error:java.lang.IllegalArgumentException: The server version (1.24) does not match the client (1.21) #769

Open watchingfun opened 1 year ago

watchingfun commented 1 year ago

遇到这个错,我用的是scoop安装、更新的,发现scoop下的qtscrcpy安装脚本把config文件夹作为persist了,也就是每次更新文件夹不会被新版本替换掉,然后看了下config.ini有写这个scrcpy的版本配置,所以我的解决办法就是Release里下载最新的重新替换掉config文件夹,我估计有部分人也会遇到这个问题,但这个问题实际是scoop安装脚本的问题,所以我贴出我的解决办法希望能帮到碰到这个问题的人。

nrvale0 commented 2 months ago

I am seeing the same behavior with version v2.2.1 though I have not been able to test the proposed work-around.

This is with a host OS of Debian 12 however. So no scoop involved.