com.android.internal.app.ResolverActivity@8aca263 [onCreate(1464740ms)] {intent:{"android.intent.extra.xspace_resolve_intent_again":"true","android.intent.extra.xspace_resolver_activity_original_intent":"Intent { flg=0x12000000 cmp=com.xx.xx/.wxapi.WXPayEntryActivity (has extras) }","android.intent.extra.xspace_resolver_activity_aim_package":"com.xx.xx"}}
---java.lang.RuntimeException: Unable to start activity ComponentInfo{android/com.android.internal.app.ResolverActivity}: java.lang.SecurityException: Permission Denial: get/set setting for user asks to run as user 0 but is calling from uid u11a130; this requires android.permission.INTERACT_ACROSS_USERS_FULL
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3308)
android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3457)
android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:83)
android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135)
android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95)
android.app.ActivityThread$H.handleMessage(ActivityThread.java:2044)
android.os.Handler.dispatchMessage(Handler.java:107)
android.os.Looper.loop(Looper.java:224)
---java.lang.SecurityException: Permission Denial: get/set setting for user asks to run as user 0 but is calling from uid u11a130; this requires android.permission.INTERACT_ACROSS_USERS_FULL
android.os.Parcel.createException(Parcel.java:2074)
android.os.Parcel.readException(Parcel.java:2042)
android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:188)
android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:140)
android.content.ContentProviderProxy.call(ContentProviderNative.java:658)
android.provider.Settings$NameValueCache.getStringForUser(Settings.java:2374)
android.provider.Settings$Secure.getStringForUser(Settings.java:5317)
android.provider.Settings$Secure.getIntForUser(Settings.java:5529)
---android.os.RemoteException: Remote stack trace:
at com.android.server.am.UserController.handleIncomingUser(UserController.java:1686)
at com.android.server.am.ActivityManagerService.handleIncomingUser(ActivityManagerService.java:14395)
at android.app.ActivityManager.handleIncomingUser(ActivityManager.java:3811)
at com.android.providers.settings.SettingsProvider.resolveCallingUserIdEnforcingPermissionsLocked(SettingsProvider.java:2146)
at com.android.providers.settings.SettingsProvider.getSecureSetting(SettingsProvider.java:1373)
请问这个问题解决了吗?怎么解决的?可以说下吗?我们也遇到类似问题。
麻烦问下你们的问题是必现的吗
请问你们Android微信支付集成的sdk是gradle中添加依赖吗?