增加代理 export http_proxy=http://10.10.10.215:7897 export https_proxy=http://10.10.10.215:7897 或者 export http_proxy=http://localhost:7897 export https_proxy=http://localhost:7897 下载代码 git clone https://github.com/Genymobile/scrcpy.git cd scrcpy 安装相关编译环境 sudo apt install -y meson ninja-build pkg-config sudo apt install -y \ libavdevice-dev \ libavfilter-dev \ libavformat-dev \ libavcodec-dev \ libavutil-dev \ libswresample-dev \ libsdl2-dev \ cmake sudo apt install -y libusb-1.0-0-dev然后运行scrcpy文件下的./install_release.sh