【问题】:
~ $ adb shell screenrecord /sdcard/test.mp4
/system/bin/sh: screenrecord: inaccessible or not found
这是因为现在很多手机为了安全把 screenrecord 功能给回收了,导致我们无法再用该命令行进行录屏操作。
通过adb shell ls /system/bin/命令可以看到ls: /system/bin//screenrecord: Permission denied,说明确实没有录屏权限了。
另外一种简单易用的录屏方法
安装 (仅 macOS):
brew install scrcpy
如果没有 adb,则需要先安装:
brew cask install android-platform-tools
运行 scrcpy
安装完毕后,电脑连接手机,

由于安全原因,许多手机回收了screenrecord功能,导致录屏失败。文章介绍了替代方法scrcpy,它在macOS上安装adb后可实现手机屏幕实时投屏和录屏。用户只需在电脑上执行scrcpy命令,即可开始录屏。
最低0.47元/天 解锁文章
658

被折叠的 条评论
为什么被折叠?



