0
点赞
收藏
分享

微信扫一扫

【系统架构师】-计算机网络

快乐小鱼儿_9911 03-23 08:00 阅读 4

工具 scrcpy

1. 安装scrcpy

brew install scrcpy

2. 确保有adb命令

adb --version #查看版本号
brew install --cask android-platform-tools #安装adb环境

安装后找不到adb,重启终端

3. scrcpy

scrcpy #默认设备

### 存在多个设备会失败
scrcpy 2.4 <https://github.com/Genymobile/scrcpy>
ERROR: Multiple (2) ADB devices:
ERROR:     -->   (usb)  5a5e3e910522                    device  22101317C
ERROR:     --> (tcpip)  emulator-5554                   device  sdk_gphone64_arm64
ERROR: Select a device via -s (--serial), -d (--select-usb) or -e (--select-tcpip)
ERROR: Server connection failed

scrcpy -s 5a5e3e910522 #选择对应的设备
举报

相关推荐

0 条评论