简体   繁体   中英

Cannot record screen on Android 4.4.2

I am trying to record my device screen using the shell command as outlined here:

http://developer.android.com/tools/help/adb.html#screenrecord

Using the verbose flag, I am getting a Permission Denial that I think is connected to the fact there is an Owner profile on the device, as it references User 0 and User 1 in the error message.

Does anyone know how I can remove the Owner profile (can't see any options to do so) or how I can set the Owner to user 0?

EDIT - clarification, the error states "broadcast asks to run as user -1 but is calling from user 0"

I got the recording to work.

It seems that for whatever reason, you need to do this via adb shell.

Whilst adb shell is running shell commands on the connected device, running the screenrecord commands directly on the device just doesn't want to work.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM