Why does screen recording get error when i screen recording with command line [closed]

China☆狼群 提交于 2019-12-10 18:10:49

问题


I am trying to do a screen recording of my Android device by following this article but I get the following error:

adb shell screenrecord /sdcard/demo.mp4
/system/bin/sh: screenrecord: not found

My Android device is running version 4.1.2.


回答1:


From the article you linked:

Android 4.4 adds support for screen recording and provides a screen recording utility that lets you start and stop recording on a device that's connected to your Android SDK environment over USB.

Now, Android 4.1.2 is not 4.4, so that's why the required binary is not found on the device.




回答2:


the article you linked is about the new APIs include from Android KitKat 4.4. if your device runs a lower version of Android, you cant run these new features.



来源:https://stackoverflow.com/questions/21367309/why-does-screen-recording-get-error-when-i-screen-recording-with-command-line

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!