手机:荣耀 v20
系统:adnroid 10
adb版本:1.0.31
手机和电脑正常连接后,输出adb shell screenrecord /sdcard/demo.mp4(录屏指令)
返回结果:/system/bin/sh: screenrecord: inaccessible or not found
Noiccy的博客/system/bin/sh: screenrecord: inaccessible or not found 这是因为现在很多手机为了安全把 screenrecord 功能给回收了,导致我们无法再用该命令行进行录屏操作。 通过adb shell ls /system/bin/命令可以看到ls: ...