IabResult: Billing service unavailable on device. (response: 3:Billing Unavailable)

后端 未结 14 2690
隐瞒了意图╮
隐瞒了意图╮ 2020-12-15 04:37

I\'m trying to use In-App billing:

mIabHelper = new IabHelper(this, BILLING_KEY);
        mIabHelper.startSetup(new IabHelper.OnIabSetupFinishedListener() {
         


        
14条回答
  •  不知归路
    2020-12-15 04:51

    Have come up with the solution.

    Try the below 3 steps:

    1. Clear the cache of GooglePlay app and Google Play services app.
    2. Remove IInAppBillingService.aidl file.
    3. Copy the above file again from sdk folder and paste it to the aidl folder in my app.

    This problem usually occurs when we copy the aidl file from one project to another project.

提交回复
热议问题