华为6.0动态授权失败

错误日志:

06-06 09:26:07.441 27623-28015/? E/SQLiteDatabase: Error inserting permissionCfg=0 uid=10395 packageName=com.icitymobile.qhqx trust=0 permissionCode=16
                                                   android.database.sqlite.SQLiteConstraintException: UNIQUE constraint failed: permissionCfg.packageName (Sqlite code 2067), (OS error - 2:No such file or directory)
                                                       at android.database.sqlite.SQLiteConnection.nativeExecuteForLastInsertedRowId(Native Method)
                                                       at android.database.sqlite.SQLiteConnection.executeForLastInsertedRowId(SQLiteConnection.java:790)
                                                       at android.database.sqlite.SQLiteSession.executeForLastInsertedRowId(SQLiteSession.java:788)
                                                       at android.database.sqlite.SQLiteStatement.executeInsert(SQLiteStatement.java:86)
                                                       at android.database.sqlite.SQLiteDatabase.insertWithOnConflict(SQLiteDatabase.java:1507)
                                                       at android.database.sqlite.SQLiteDatabase.insert(SQLiteDatabase.java:1372)
                                                       at com.huawei.permissionmanager.db.DBHelper.insert(DBHelper.java:1200)
                                                       at com.huawei.permissionmanager.db.PermissionDataProvider.insert(PermissionDataProvider.java:157)
                                                       at android.content.ContentProvider$Transport.insert(ContentProvider.java:263)
                                                       at android.content.ContentProviderNative.onTransact(ContentProviderNative.java:163)
                                                       at android.os.Binder.execTransact(Binder.java:453)
06-06 09:26:09.446 24631-26310/? E/DatabaseUtils: Writing exception to parcel
                                                  java.lang.SecurityException: com.icitymobile.qhqx was not granted  this permission: android.permission.WRITE_SETTINGS.
                                                      at android.provider.Settings.isCallingPackageAllowedToPerformAppOpsProtectedOperation(Settings.java:8613)
                                                      at android.provider.Settings.checkAndNoteWriteSettingsOperation(Settings.java:8475)
                                                      at com.android.providers.settings.SettingsProvider.mutateSystemSetting(SettingsProvider.java:1021)
                                                      at com.android.providers.settings.SettingsProvider.insertSystemSetting(SettingsProvider.java:970)
                                                      at com.android.providers.settings.SettingsProvider.call(SettingsProvider.java:298)
                                                      at android.content.ContentProvider$Transport.call(ContentProvider.java:398)
                                                      at android.content.ContentProviderNative.onTransact(ContentProviderNative.java:283)
                                                      at android.os.Binder.execTransact(Binder.java:453)
06-06 09:26:09.446 24631-26286/? E/DatabaseUtils: Writing exception to parcel
                                                  java.lang.SecurityException: com.icitymobile.qhqx was not granted  this permission: android.permission.WRITE_SETTINGS.
                                                      at android.provider.Settings.isCallingPackageAllowedToPerformAppOpsProtectedOperation(Settings.java:8613)
                                                      at android.provider.Settings.checkAndNoteWriteSettingsOperation(Settings.java:8475)
                                                      at com.android.providers.settings.SettingsProvider.mutateSystemSetting(SettingsProvider.java:1021)
                                                      at com.android.providers.settings.SettingsProvider.insertSystemSetting(SettingsProvider.java:970)
                                                      at com.android.providers.settings.SettingsProvider.call(SettingsProvider.java:298)
                                                      at android.content.ContentProvider$Transport.call(ContentProvider.java:398)
                                                      at android.content.ContentProviderNative.onTransact(ContentProviderNative.java:283)
                                                      at android.os.Binder.execTransact(Binder.java:453)
06-06 09:26:09.458 24631-25478/? E/DatabaseUtils: Writing exception to parcel
                                                  java.lang.SecurityException: com.icitymobile.qhqx was not granted  this permission: android.permission.WRITE_SETTINGS.
                                                      at android.provider.Settings.isCallingPackageAllowedToPerformAppOpsProtectedOperation(Settings.java:8613)
                                                      at android.provider.Settings.checkAndNoteWriteSettingsOperation(Settings.java:8475)
                                                      at com.android.providers.settings.SettingsProvider.mutateSystemSetting(SettingsProvider.java:1021)
                                                      at com.android.providers.settings.SettingsProvider.insertSystemSetting(SettingsProvider.java:970)
                                                      at com.android.providers.settings.SettingsProvider.call(SettingsProvider.java:298)
                                                      at android.content.ContentProvider$Transport.call(ContentProvider.java:398)
                                                      at android.content.ContentProviderNative.onTransact(ContentProviderNative.java:283)
                                                      at android.os.Binder.execTransact(Binder.java:453)
06-06 09:26:09.458 24631-25887/? E/DatabaseUtils: Writing exception to parcel
                                                  java.lang.SecurityException: com.icitymobile.qhqx was not granted  this permission: android.permission.WRITE_SETTINGS.
                                                      at android.provider.Settings.isCallingPackageAllowedToPerformAppOpsProtectedOperation(Settings.java:8613)
                                                      at android.provider.Settings.checkAndNoteWriteSettingsOperation(Settings.java:8475)
                                                      at com.android.providers.settings.SettingsProvider.mutateSystemSetting(SettingsProvider.java:1021)
                                                      at com.android.providers.settings.SettingsProvider.insertSystemSetting(SettingsProvider.java:970)
                                                      at com.android.providers.settings.SettingsProvider.call(SettingsProvider.java:298)
                                                      at android.content.ContentProvider$Transport.call(ContentProvider.java:398)
                                                      at android.content.ContentProviderNative.onTransact(ContentProviderNative.java:283)
                                                      at android.os.Binder.execTransact(Binder.java:453)
06-06 09:26:09.798 24631-24642/? E/DatabaseUtils: Writing exception to parcel
                                                  java.lang.SecurityException: com.icitymobile.qhqx was not granted  this permission: android.permission.WRITE_SETTINGS.
                                                      at android.provider.Settings.isCallingPackageAllowedToPerformAppOpsProtectedOperation(Settings.java:8613)
                                                      at android.provider.Settings.checkAndNoteWriteSettingsOperation(Settings.java:8475)
                                                      at com.android.providers.settings.SettingsProvider.mutateSystemSetting(SettingsProvider.java:1021)
                                                      at com.android.providers.settings.SettingsProvider.insertSystemSetting(SettingsProvider.java:970)
                                                      at com.android.providers.settings.SettingsProvider.call(SettingsProvider.java:298)
                                                      at android.content.ContentProvider$Transport.call(ContentProvider.java:398)
                                                      at android.content.ContentProviderNative.onTransact(ContentProviderNative.java:283)
                                                      at android.os.Binder.execTransact(Binder.java:453)
06-06 09:26:09.800 24631-25886/? E/DatabaseUtils: Writing exception to parcel
                                                  java.lang.SecurityException: com.icitymobile.qhqx was not granted  this permission: android.permission.WRITE_SETTINGS.
                                                      at android.provider.Settings.isCallingPackageAllowedToPerformAppOpsProtectedOperation(Settings.java:8613)
                                                      at android.provider.Settings.checkAndNoteWriteSettingsOperation(Settings.java:8475)
                                                      at com.android.providers.settings.SettingsProvider.mutateSystemSetting(SettingsProvider.java:1021)
                                                      at com.android.providers.settings.SettingsProvider.insertSystemSetting(SettingsProvider.java:970)
                                                      at com.android.providers.settings.SettingsProvider.call(SettingsProvider.java:298)
                                                      at android.content.ContentProvider$Transport.call(ContentProvider.java:398)
                                                      at android.content.ContentProviderNative.onTransact(ContentProviderNative.java:283)
                                                      at android.os.Binder.execTransact(Binder.java:453)
06-06 09:26:10.409 24631-25286/? E/DatabaseUtils: Writing exception to parcel
                                                  java.lang.SecurityException: com.icitymobile.qhqx was not granted  this permission: android.permission.WRITE_SETTINGS.
                                                      at android.provider.Settings.isCallingPackageAllowedToPerformAppOpsProtectedOperation(Settings.java:8613)
                                                      at android.provider.Settings.checkAndNoteWriteSettingsOperation(Settings.java:8475)
                                                      at com.android.providers.settings.SettingsProvider.mutateSystemSetting(SettingsProvider.java:1021)
                                                      at com.android.providers.settings.SettingsProvider.insertSystemSetting(SettingsProvider.java:970)
                                                      at com.android.providers.settings.SettingsProvider.call(SettingsProvider.java:298)
                                                      at android.content.ContentProvider$Transport.call(ContentProvider.java:398)
                                                      at android.content.ContentProviderNative.onTransact(ContentProviderNative.java:283)
                                                      at android.os.Binder.execTransact(Binder.java:453)
06-06 09:26:10.413 24631-25000/? E/DatabaseUtils: Writing exception to parcel
                                                  java.lang.SecurityException: com.icitymobile.qhqx was not granted  this permission: android.permission.WRITE_SETTINGS.
                                                      at android.provider.Settings.isCallingPackageAllowedToPerformAppOpsProtectedOperation(Settings.java:8613)
                                                      at android.provider.Settings.checkAndNoteWriteSettingsOperation(Settings.java:8475)
                                                      at com.android.providers.settings.SettingsProvider.mutateSystemSetting(SettingsProvider.java:1021)
                                                      at com.android.providers.settings.SettingsProvider.insertSystemSetting(SettingsProvider.java:970)
                                                      at com.android.providers.settings.SettingsProvider.call(SettingsProvider.java:298)
                                                      at android.content.ContentProvider$Transport.call(ContentProvider.java:398)
                                                      at android.content.ContentProviderNative.onTransact(ContentProviderNative.java:283)
                                                      at android.os.Binder.execTransact(Binder.java:453)
06-06 09:26:10.585 24631-25478/? E/DatabaseUtils: Writing exception to parcel
                                                  java.lang.SecurityException: com.icitymobile.qhqx was not granted  this permission: android.permission.WRITE_SETTINGS.
                                                      at android.provider.Settings.isCallingPackageAllowedToPerformAppOpsProtectedOperation(Settings.java:8613)
                                                      at android.provider.Settings.checkAndNoteWriteSettingsOperation(Settings.java:8475)
                                                      at com.android.providers.settings.SettingsProvider.mutateSystemSetting(SettingsProvider.java:1021)
                                                      at com.android.providers.settings.SettingsProvider.insertSystemSetting(SettingsProvider.java:970)
                                                      at com.android.providers.settings.SettingsProvider.call(SettingsProvider.java:298)
                                                      at android.content.ContentProvider$Transport.call(ContentProvider.java:398)
                                                      at android.content.ContentProviderNative.onTransact(ContentProviderNative.java:283)
                                                      at android.os.Binder.execTransact(Binder.java:453)
06-06 09:26:10.588 24631-26447/? E/DatabaseUtils: Writing exception to parcel
                                                  java.lang.SecurityException: com.icitymobile.qhqx was not granted  this permission: android.permission.WRITE_SETTINGS.
                                                      at android.provider.Settings.isCallingPackageAllowedToPerformAppOpsProtectedOperation(Settings.java:8613)
                                                      at android.provider.Settings.checkAndNoteWriteSettingsOperation(Settings.java:8475)
                                                      at com.android.providers.settings.SettingsProvider.mutateSystemSetting(SettingsProvider.java:1021)
                                                      at com.android.providers.settings.SettingsProvider.insertSystemSetting(SettingsProvider.java:970)
                                                      at com.android.providers.settings.SettingsProvider.call(SettingsProvider.java:298)
                                                      at android.content.ContentProvider$Transport.call(ContentProvider.java:398)
                                                      at android.content.ContentProviderNative.onTransact(ContentProviderNative.java:283)
                                                      at android.os.Binder.execTransact(Binder.java:453)
06-06 09:26:10.807 20776-20852/? E/linker: warning: unable to get realpath for the library "/data/app/com.icitymobile.qhqx-1/lib/arm/liblocSDK6a.so". Will use given name.
06-06 09:26:12.148 24631-25157/? E/HwCHRWebMonitor: running processNamecom.icitymobile.qhqx
06-06 09:26:12.151 24631-25157/? E/HwCHRWebMonitor: HwCHRWifiUIDWebSpeed [appName=com.icitymobile.qhqx UID=10395  WEBSENDSEGS=62  WEBRESENDSEGS=0  WEBRECVSEGS=49  WEBERRSEGS=0  WEBOUTRSTS=0  WEBESTABLISRST=0  WEBRTTDURATION=35  WEBRTTSEGS=19  WEBSNDDUPACKS=0  suckTimes=0 recovage_times=0]
06-06 09:26:15.957 24631-26270/? E/DatabaseUtils: Writing exception to parcel
                                                  java.lang.SecurityException: com.icitymobile.qhqx was not granted  this permission: android.permission.WRITE_SETTINGS.
                                                      at android.provider.Settings.isCallingPackageAllowedToPerformAppOpsProtectedOperation(Settings.java:8613)
                                                      at android.provider.Settings.checkAndNoteWriteSettingsOperation(Settings.java:8475)
                                                      at com.android.providers.settings.SettingsProvider.mutateSystemSetting(SettingsProvider.java:1021)
                                                      at com.android.providers.settings.SettingsProvider.insertSystemSetting(SettingsProvider.java:970)
                                                      at com.android.providers.settings.SettingsProvider.call(SettingsProvider.java:298)
                                                      at android.content.ContentProvider$Transport.call(ContentProvider.java:398)
                                                      at android.content.ContentProviderNative.onTransact(ContentProviderNative.java:283)
                                                      at android.os.Binder.execTransact(Binder.java:453)
06-06 09:26:15.957 24631-26274/? E/DatabaseUtils: Writing exception to parcel
                                                  java.lang.SecurityException: com.icitymobile.qhqx was not granted  this permission: android.permission.WRITE_SETTINGS.
                                                      at android.provider.Settings.isCallingPackageAllowedToPerformAppOpsProtectedOperation(Settings.java:8613)
                                                      at android.provider.Settings.checkAndNoteWriteSettingsOperation(Settings.java:8475)
                                                      at com.android.providers.settings.SettingsProvider.mutateSystemSetting(SettingsProvider.java:1021)
                                                      at com.android.providers.settings.SettingsProvider.insertSystemSetting(SettingsProvider.java:970)
                                                      at com.android.providers.settings.SettingsProvider.call(SettingsProvider.java:298)
                                                      at android.content.ContentProvider$Transport.call(ContentProvider.java:398)
                                                      at android.content.ContentProviderNative.onTransact(ContentProviderNative.java:283)
                                                      at android.os.Binder.execTransact(Binder.java:453)
06-06 09:26:15.961 24631-25412/? E/DatabaseUtils: Writing exception to parcel
                                                  java.lang.SecurityException: com.icitymobile.qhqx was not granted  this permission: android.permission.WRITE_SETTINGS.
                                                      at android.provider.Settings.isCallingPackageAllowedToPerformAppOpsProtectedOperation(Settings.java:8613)
                                                      at android.provider.Settings.checkAndNoteWriteSettingsOperation(Settings.java:8475)
                                                      at com.android.providers.settings.SettingsProvider.mutateSystemSetting(SettingsProvider.java:1021)
                                                      at com.android.providers.settings.SettingsProvider.insertSystemSetting(SettingsProvider.java:970)
                                                      at com.android.providers.settings.SettingsProvider.call(SettingsProvider.java:298)
                                                      at android.content.ContentProvider$Transport.call(ContentProvider.java:398)
                                                      at android.content.ContentProviderNative.onTransact(ContentProviderNative.java:283)
                                                      at android.os.Binder.execTransact(Binder.java:453)
06-06 09:26:15.962 24631-26286/? E/DatabaseUtils: Writing exception to parcel
                                                  java.lang.SecurityException: com.icitymobile.qhqx was not granted  this permission: android.permission.WRITE_SETTINGS.
                                                      at android.provider.Settings.isCallingPackageAllowedToPerformAppOpsProtectedOperation(Settings.java:8613)
                                                      at android.provider.Settings.checkAndNoteWriteSettingsOperation(Settings.java:8475)
                                                      at com.android.providers.settings.SettingsProvider.mutateSystemSetting(SettingsProvider.java:1021)
                                                      at com.android.providers.settings.SettingsProvider.insertSystemSetting(SettingsProvider.java:970)
                                                      at com.android.providers.settings.SettingsProvider.call(SettingsProvider.java:298)
                                                      at android.content.ContentProvider$Transport.call(ContentProvider.java:398)
                                                      at android.content.ContentProviderNative.onTransact(ContentProviderNative.java:283)
                                                      at android.os.Binder.execTransact(Binder.java:453)
06-06 09:26:16.894 24631-25286/? E/DatabaseUtils: Writing exception to parcel
                                                  java.lang.SecurityException: com.icitymobile.qhqx was not granted  this permission: android.permission.WRITE_SETTINGS.
                                                      at android.provider.Settings.isCallingPackageAllowedToPerformAppOpsProtectedOperation(Settings.java:8613)
                                                      at android.provider.Settings.checkAndNoteWriteSettingsOperation(Settings.java:8475)
                                                      at com.android.providers.settings.SettingsProvider.mutateSystemSetting(SettingsProvider.java:1021)
                                                      at com.android.providers.settings.SettingsProvider.insertSystemSetting(SettingsProvider.java:970)
                                                      at com.android.providers.settings.SettingsProvider.call(SettingsProvider.java:298)
                                                      at android.content.ContentProvider$Transport.call(ContentProvider.java:398)
                                                      at android.content.ContentProviderNative.onTransact(ContentProviderNative.java:283)
                                                      at android.os.Binder.execTransact(Binder.java:453)
06-06 09:26:16.897 24631-26270/? E/DatabaseUtils: Writing exception to parcel
                                                  java.lang.SecurityException: com.icitymobile.qhqx was not granted  this permission: android.permission.WRITE_SETTINGS.
                                                      at android.provider.Settings.isCallingPackageAllowedToPerformAppOpsProtectedOperation(Settings.java:8613)
                                                      at android.provider.Settings.checkAndNoteWriteSettingsOperation(Settings.java:8475)
                                                      at com.android.providers.settings.SettingsProvider.mutateSystemSetting(SettingsProvider.java:1021)
                                                      at com.android.providers.settings.SettingsProvider.insertSystemSetting(SettingsProvider.java:970)
                                                      at com.android.providers.settings.SettingsProvider.call(SettingsProvider.java:298)
                                                      at android.content.ContentProvider$Transport.call(ContentProvider.java:398)
                                                      at android.content.ContentProviderNative.onTransact(ContentProviderNative.java:283)
                                                      at android.os.Binder.execTransact(Binder.java:453)
06-06 09:26:17.095 24631-25412/? E/DatabaseUtils: Writing exception to parcel
                                                  java.lang.SecurityException: com.icitymobile.qhqx was not granted  this permission: android.permission.WRITE_SETTINGS.
                                                      at android.provider.Settings.isCallingPackageAllowedToPerformAppOpsProtectedOperation(Settings.java:8613)
                                                      at android.provider.Settings.checkAndNoteWriteSettingsOperation(Settings.java:8475)
                                                      at com.android.providers.settings.SettingsProvider.mutateSystemSetting(SettingsProvider.java:1021)
                                                      at com.android.providers.settings.SettingsProvider.insertSystemSetting(SettingsProvider.java:970)
                                                      at com.android.providers.settings.SettingsProvider.call(SettingsProvider.java:298)
                                                      at android.content.ContentProvider$Transport.call(ContentProvider.java:398)
                                                      at android.content.ContentProviderNative.onTransact(ContentProviderNative.java:283)
                                                      at android.os.Binder.execTransact(Binder.java:453)
06-06 09:26:17.097 24631-26286/? E/DatabaseUtils: Writing exception to parcel
                                                  java.lang.SecurityException: com.icitymobile.qhqx was not granted  this permission: android.permission.WRITE_SETTINGS.
                                                      at android.provider.Settings.isCallingPackageAllowedToPerformAppOpsProtectedOperation(Settings.java:8613)
                                                      at android.provider.Settings.checkAndNoteWriteSettingsOperation(Settings.java:8475)
                                                      at com.android.providers.settings.SettingsProvider.mutateSystemSetting(SettingsProvider.java:1021)
                                                      at com.android.providers.settings.SettingsProvider.insertSystemSetting(SettingsProvider.java:970)
                                                      at com.android.providers.settings.SettingsProvider.call(SettingsProvider.java:298)
                                                      at android.content.ContentProvider$Transport.call(ContentProvider.java:398)
                                                      at android.content.ContentProviderNative.onTransact(ContentProviderNative.java:283)
                                                      at android.os.Binder.execTransact(Binder.java:453)
06-06 09:26:17.181 24631-25157/? E/HwCHRWebMonitor: running processNamecom.icitymobile.qhqx
06-06 09:26:17.183 24631-25157/? E/HwCHRWebMonitor: HwCHRWifiUIDWebSpeed [appName=com.icitymobile.qhqx UID=10395  WEBSENDSEGS=36  WEBRESENDSEGS=0  WEBRECVSEGS=26  WEBERRSEGS=0  WEBOUTRSTS=0  WEBESTABLISRST=0  WEBRTTDURATION=84  WEBRTTSEGS=15  WEBSNDDUPACKS=0  suckTimes=0 recovage_times=1]
06-06 09:26:17.207 21076-21109/? E/linker: warning: unable to get realpath for the library "/data/app/com.icitymobile.qhqx-1/lib/arm/liblocSDK6a.so". Will use given name.
06-06 09:26:23.219 24631-25157/? E/HwCHRWebMonitor: running processNamecom.icitymobile.qhqx
06-06 09:26:23.220 24631-25157/? E/HwCHRWebMonitor: HwCHRWifiUIDWebSpeed [appName=com.icitymobile.qhqx UID=10395  WEBSENDSEGS=340  WEBRESENDSEGS=0  WEBRECVSEGS=536  WEBERRSEGS=0  WEBOUTRSTS=0  WEBESTABLISRST=0  WEBRTTDURATION=7  WEBRTTSEGS=1  WEBSNDDUPACKS=0  suckTimes=0 recovage_times=2]
06-06 09:26:28.278 24631-25157/? E/HwCHRWebMonitor: running processNamecom.icitymobile.qhqx
06-06 09:26:28.279 24631-25157/? E/HwCHRWebMonitor: HwCHRWifiUIDWebSpeed [appName=com.icitymobile.qhqx UID=10395  WEBSENDSEGS=7  WEBRESENDSEGS=0  WEBRECVSEGS=5  WEBERRSEGS=0  WEBOUTRSTS=0  WEBESTABLISRST=0  WEBRTTDURATION=15  WEBRTTSEGS=3  WEBSNDDUPACKS=0  suckTimes=0 recovage_times=3]

你可能感兴趣的:(华为6.0动态授权失败)