如标题, 我在开发视频录制的过程中 开始录制时报这个异常信息, 根据信息提示加入了相应的权限还是不能解决。
错误信息:Permission Denial: get/set setting for user asks to run as user -2 but is calling from user 0; this requires android.permission.INTERACT_ACROSS_USERS_FULL
跪求各种大神解决。
For anyone else who had this issue, for me it was simply a case of having an activity with the wrong name in the AndroidManifest.xml file.
I didn't need to add any permissions, once the activity name was corrected (in mine it stated the wrong package name), it ran fine.
检查一下androidmanifest.xml里面配置的包名和activity的名称是否正确.