Ubuntu 按照投屏工具 - Scrcpy

2024-01-03  本文已影响0人  付小影子

1.First, you need to install the required packages:

sudo apt install ffmpeg libsdl2-2.0-0 adb wget \
                 gcc git pkg-config meson ninja-build libsdl2-dev \
                 libavcodec-dev libavdevice-dev libavformat-dev libavutil-dev \
                 libswresample-dev libusb-1.0-0 libusb-1.0-0-dev

2.Then clone the repo and execute the installation script (source):

git clone https://github.com/Genymobile/scrcpy
cd scrcpy
./install_release.sh

3.Run from a terminal:

scrcpy

Linke: scrcpy/doc/linux.md at master · Genymobile/scrcpy · GitHub

如果错误,可能得翻墙,设置网络代理等。

上一篇下一篇

猜你喜欢

热点阅读