收藏
回答

安卓微信支付回调的时候唤起了ResolverActivity?并崩溃

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)

回答关注问题邀请回答
收藏

3 个回答

  • 爬行的蚂蚁
    爬行的蚂蚁
    2021-10-10

    请问这个问题解决了吗?怎么解决的?可以说下吗?我们也遇到类似问题。

    2021-10-10
    有用
    回复 1
    • Lishupeng
      Lishupeng
      2021-10-11
      我们后来没没有再出现这个问题了,可以升级到最新的sdk试试
      2021-10-11
      回复
  • airfish
    airfish
    2020-12-26

    麻烦问下你们的问题是必现的吗

    2020-12-26
    有用
    回复
  • 草原
    草原
    2020-09-01

    请问你们Android微信支付集成的sdk是gradle中添加依赖吗?

    2020-09-01
    有用
    回复
登录 后发表内容
问题标签