这里介绍一款可以使用电脑显示和控制Android设备的命令行工具:scrcpy,当前scrcpy 1.3已经发布下载,该款工具能够在GNU/Linux、Windows和Mac OS上运行,而且无需root。scrcpy没有可视化界面。但需要用USB把 Android设备和电脑连起来,之后即可使用电脑的鼠标、触控板、键盘等控制设备。它的最低要求是Android 5.0及以上版本,当然也可以使用Android 9.0 Pie。
运行在Debian下画面
scrcpy 1.3主要更新 Fix missing initialization that leaded to kill the whole process group on quit Support holding Ctrl+Key shortcuts Forward repeated volume events Increase "adb forward" connections attempts to 10 seconds Add crop feature
Linux平台安装说明 Install the required packages from your package manager. 1.Debian/Ubuntu # runtime dependencies sudo apt install ffmpeg libsdl2-2.0.0 # client build dependencies sudo apt install make gcc pkg-config meson \ libavcodec-dev libavformat-dev libavutil-dev \ libsdl2-dev # server build dependencies sudo apt install openjdk-8-jdk 2.Fedora # enable RPM fusion free sudo dnf install https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm # client build dependencies sudo dnf install SDL2-devel ffms2-devel meson gcc make # server build dependencies sudo dnf install java
相关主题 |