【问题标题】:Android Permission issue with purchasing flow购买流程的 Android 权限问题
【发布时间】:2016-06-27 10:39:08
【问题描述】:

当我尝试购买商品时

try {

 Bundle buyIntentBundle = mService.getBuyIntent(3, getPackageName(), sku, "inapp", "test");

 PendingIntent pendingIntent = buyIntentBundle.getParcelable("BUY_INTENT");

 startIntentSenderForResult(pendingIntent.getIntentSender(), 1001,
 new   Intent(), Integer.valueOf(0), Integer.valueOf(0), Integer.valueOf(0));


 }catch (RemoteException e){


  }catch (IntentSender.SendIntentException se){

  }

我收到以下错误:

权限拒绝:获取/设置用户要求以用户 -2 身份运行但从用户 0 调用的设置;这需要 android.permission.INTERACT_ACROSS_USERS_FULL

有谁知道这个问题与什么有关?

谢谢

【问题讨论】:

    标签: android in-app-purchase


    【解决方案1】:

    【讨论】:

    • 我在清单中添加了以下内容
    猜你喜欢
    • 1970-01-01
    • 2012-03-12
    • 2019-08-11
    • 2020-06-26
    • 2012-01-01
    • 1970-01-01
    • 2018-12-30
    • 1970-01-01
    • 2016-01-29
    相关资源
    最近更新 更多