简体   繁体   English

uid…没有android.permission.UPDATE_APP_OPS_STATS

[英]uid … does not have android.permission.UPDATE_APP_OPS_STATS

Since Android 4.3 I receive following stacktraces: 从Android 4.3开始,我收到以下堆栈跟踪:

[STACKTRACE] => java.lang.SecurityException: uid 10140 does not have android.permission.UPDATE_APP_OPS_STATS.
    at android.os.Parcel.readException(Parcel.java:1431)
    ...

The exception is thrown at the following line: 在以下行引发异常:

notificationManager.notify(0, notification.build());

I tried the new resticted user feature of Android 4.3, lauched my app under this user which showed a notification, without any problems. 我尝试了Android 4.3的新用户限制功能,将我的应用启动到显示通知的该用户下,没有任何问题。

Any ideas? 有任何想法吗?

This is a known issue on the current Android release. 这是当前Android版本上的一个已知问题。 Here is some more information for follow up: https://code.google.com/p/android/issues/detail?id=58043 以下是一些后续的更多信息: https : //code.google.com/p/android/issues/detail?id=58043

It has been fixed but not yet released. 它已经修复,但尚未发布。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 java.lang.RuntimeException:无法暂停活动:java.lang.SecurityException:uid没有android.permission.UPDATE_DEVICE_STATS - java.lang.RuntimeException: Unable to pause activity : java.lang.SecurityException: uid does not have android.permission.UPDATE_DEVICE_STATS uid没有android.permission.SEND_SMS - uid does not have android.permission.SEND_SMS uid 10058没有android.permission.SEND_SMS - uid 10058 does not have android.permission.SEND_SMS 错误:Uid 10087无权访问uri 0 - Error: Uid 10087 does not have permission to uri 0 Android发送短信无效uid 10064没有android.permission.SEND_SMS? - Android send SMS not working uid 10064 does not have android.permission.SEND_SMS? Android崩溃,权限为UPDATE_DEVICE_STATS - Android crash with permission UPDATE_DEVICE_STATS 发送短信:uid 10137没有android.permission.SEND_SMS - Sending SMS message: uid 10137 does not have android.permission.SEND_SMS java.lang.SecurityException:发送短信:uid 10282 没有 android.permission.SEND_SMS - java.lang.SecurityException: Sending SMS message: uid 10282 does not have android.permission.SEND_SMS java.lang.SecurityException:发送短信:uid 10051 没有 android.permission.SEND_SMS - java.lang.SecurityException: Sending SMS message: uid 10051 does not have android.permission.SEND_SMS Android:我们能否检测到App Ops是否已禁用权限? - Android: Can we detected if a permission has been disabled on App Ops?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM