由网友(要账的)分享简介:我努力将MI code的开源指南针到一个应用程序,我想提出。我想知道我怎么可以在这里解决这个权限错误时,我清楚地有它在我的表现说明了正确的拼写。它还是来了,我需要该权限。这是我百思不得其解...... 11-03 13:53:58.241:E / AndroidRuntime(8975):产生的原因:\java.lan...![Android 外部存储程序报错 Permission denied 解决方法](https://p.xsw88.cn/allimgs/daicuo/20230912/73.png)
我努力将MI code的开源指南针到一个应用程序,我想提出。我想知道我怎么可以在这里解决这个权限错误时,我清楚地有它在我的表现说明了正确的拼写。它还是来了,我需要该权限。
这是我百思不得其解......
11-03 13:53:58.241:E / AndroidRuntime(8975):产生的原因:
java.lang.SecurityException异常:权限被拒绝:从registerReceiver
net.mi code.compass要求为用户-1运行,但是从用户0调用;本
需要android.permission.INTERACT_ACROSS_USERS_FULL
解决方案
android.permission.INTERACT_ACROSS_USERS_FULL
是签名级别的权限。你的应用将不能使用它之前,除非它具有相同的签名系统。
![Android 外部存储程序报错 Permission denied 解决方法](https://p.xsw88.cn/allimgs/daicuo/20230912/73.png)
I am working on integrating micode's open source compass into an app I am making. I am wondering how I can fix this here permission error when I clearly have it stated in my manifest with the correct spelling. Its still coming up that I need that permission.
This is puzzling me...
11-03 13:53:58.241: E/AndroidRuntime(8975): Caused by:
java.lang.SecurityException: Permission Denial: registerReceiver from
net.micode.compass asks to run as user -1 but is calling from user 0; this
requires android.permission.INTERACT_ACROSS_USERS_FULL
解决方案
android.permission.INTERACT_ACROSS_USERS_FULL
is a signature level permission. Your app will not be able to use it until and unless it has the same signature as the system.
相关推荐
最新文章