Application Error : This version of the application is not configured for Market Billing

后端 未结 10 1480
情书的邮戳
情书的邮戳 2020-12-04 10:35

Since a couple of days it\'s possible to use in-app-billing in Android apps. Very cool of course. So, I started working on a update for my application to implement this. But

10条回答
  •  南笙
    南笙 (楼主)
    2020-12-04 11:11

    Copied from duplicate question: https://stackoverflow.com/a/22469253/1321401

    This error may occur for several reasons.
    Here is the list of requirements for the Google IAB testing.

    Prerequisites:

    1. AndroidManifest must include "com.android.vending.BILLING" permission.
    2. APK is built in release mode.
    3. APK is signed with the release certificate(s).
    4. APK is uploaded to alfa/beta distribution channel (previously - as a draft) to the developer console at least once. (takes some time ~2h-24h).
    5. IAB products are published and their status set to active.
    6. Test account(s) is added in developer console.

    Testing requirements:

    1. Test APK has the same versionCode as the one uploaded to developer console.
    2. Test APK is signed with the same certificate(s) as the one uploaded to dev.console.
    3. Test account (not developer) - is the main account on the device.

    P.S: Debugging with release certificate: https://stackoverflow.com/a/15754187/1321401 (Thnx @dipp for the link)

    P.P.S: Wanted to make this list for a long time already.

    Thnx @zlgdev for update

提交回复
热议问题