Error in Adding the In-app Billing Library

前端 未结 9 545
轻奢々
轻奢々 2021-01-31 08:38

I was doing this following these steps as mentioned in the link.

  1. Copy the IInAppBillingService.aidl file to your Android project.

    (1) If you are
9条回答
  •  醉梦人生
    2021-01-31 09:07

    right click on the head of the project and create a new PACKAGE ... call the package com.android.vending.billing ....drop the aidl file in there to quiet the error.

    Some food for thought: for those with an interest - when using someone's aidl file, the package name for both apps must be the same. google used com.android.vending.billing as their package name for their billing aidl interface, so you MUST also use the same package name in your app. This is the rule when using aidl.

提交回复
热议问题