1234567891011121314151617181920212223242526272829303132333435361. 安装msys2https://www.msys2.org/2. 安装环境参考文档https://blog.csdn.net/u012787710/article/details/130430216pacman -S mingw-w64-x86_64-SDL2pacman -S mingw-w64-x86_64-ffmpegpacman -S mingw-w64-x86_64-libusbpacman -S mingw-w64-x86_64-makepacman -S mingw-w64-x86_64-pkg-configpacman -S mingw-w64-x86_64-meson3.pwdgit clone https://github.com/Genymobile/scrcpy.git4.# 进入代码仓cd./ scrcpy/# 编译scrcpy-server 如果慢 跳过 下载编译好的 https://github.com/Genymobile/scrcpy/releases/tag/v2.0./server/scripts/build-wrapper.sh "server" "server/scrcpy-server" "release"# 我放入了 scrcpy-server scrcpy\server\scrcpy-server# 编译Scrcpy.exemeson x --buildtype release --strip -Db_lto=true -Dprebuilt_server=./server/scrcpy-server-v2.0ninja.exe -Cx./run x--->ERROR: Command not found: [adb], [start-server]--->解: 放入代码仓根目录 adb.exe AdbWinApi.dll AdbWinUsbApi.dll