gpt4 book ai didi

安卓权限。INTERACT_ACROSS_USERS_FULL

转载 作者:IT老高 更新时间:2023-10-28 21:56:13 27 4
gpt4 key购买 nike

我在 android 中有一个大型应用程序。

应用程序有时会因错误不清楚而崩溃。我不知道确切的时间和原因。

java.lang.SecurityException: 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

有什么帮助吗?

最佳答案

java.lang.SecurityException: 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

在 list 中添加此 android:protectionLevel="signature"

更多详情可以查看Permission-Element

点赞:

<permission android:name="android.permission.INTERACT_ACROSS_USERS_FULL" android:protectionLevel="signature"/>

关于安卓权限。INTERACT_ACROSS_USERS_FULL,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/28134128/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com