Application not configured for billing through Google Play

后端 未结 1 617
醉酒成梦
醉酒成梦 2021-02-06 07:53

I am working on an android project and I am trying to implement In App Billing V3.

I have uploaded my app to Google Play, and add an IAP to the app. I can successfully

1条回答
  •  梦如初夏
    2021-02-06 08:42

    There are a few things to consider here:

    1. After uploading your apk to Google Play, you need to wait a while for Google's servers to update (similar to when you publish an update). This can take an hour or two or longer in my experience. So try again in a few hours.

    2. Ensure that the version of the apk you uploaded is configured for IAP (through the permissions), and then only test IAP with a signed apk. That is, export and sign your apk from Eclipse and then install locally onto your device. Otherwise, if you run an unsigned version of the application directly from the IDE, it will not work and you'll see an error.

      Note: You don't need to upload a new apk every time you make minor changes, as long as the currently uploaded draft apk was configured with the correct permissions and you published your IAP items on the dev console. The only annoying part is that you have to export and sign your application each time after making changes and run it on a device locally.

    3. Check that the versionCode of your uploaded apk has the same versionCode as your local version of the apk.

    4. You can not use your developer account to make test purchases, because Google Wallet doesn't allow you to purchase items from yourself. So you need to set up some test accounts on the Developer Console and try purchasing items from a device running the test account.

    0 讨论(0)
提交回复
热议问题