Skip to content Skip to sidebar Skip to footer

Why Does Screen Recording Get Error When I Screen Recording With Command Line

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: screenrec

Solution 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.

Solution 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.

Post a Comment for "Why Does Screen Recording Get Error When I Screen Recording With Command Line"