数据库规则 - 写入包裹的例外

时间:2016-10-06 10:55:48

标签: android firebase firebase-security

我遇到了一个问题,我看到以下错误:

E/DatabaseUtils: Writing exception to parcel
                                           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
                                               at com.android.server.am.ActivityManagerService.handleIncomingUser(ActivityManagerService.java:14610)
                                               at android.app.ActivityManager.handleIncomingUser(ActivityManager.java:2258)
                                               at com.android.providers.settings.SettingsProvider.call(SettingsProvider.java:663)
                                               at android.content.ContentProvider$Transport.call(ContentProvider.java:325)
                                               at android.content.ContentProviderNative.onTransact(ContentProviderNative.java:275)
                                               at android.os.Binder.execTransact(Binder.java:404)
                                               at dalvik.system.NativeStart.run(Native Method)

1 个答案:

答案 0 :(得分:1)

来自OP的帖子:

这些日志对我来说并不是很重要,原因是你没有权利读取或写入该数据库的路径。

修改你的规则并解决问题。