Android IAP 获取错误此版本的应用程序未配置为通过 google play 计费检查帮助中心

问题描述 投票:0回答:3

我从计费库3.0开始

  • 已在内部/alpha 测试中发布具有 BILLING 权限的 aab 文件

  • 我添加了我的电子邮件以进行近距离测试

  • IAP 产品已发布且状态设置为活动

  • 在 android studio 中,我的调试配置在 google play 上签署了与 release aab 相同的 android keystore

  • 内部/alpha 测试版本代码和版本名称相同的版本 之后我从 android studio 运行调试应用程序并得到错误: this version of the application is not configured for billing through google play check the help center

    有人有解决方案吗?

android in-app-purchase
3个回答
7
投票

我已经通过将我的邮件添加到license testing

解决了这个问题

0
投票

我的项目很老了,它是基于ant tools构建的 我发现 ant 工具不合并 AndroidManifest.xml 所以我通过添加解决了这个问题:

    <meta-data
        android:name="com.google.android.play.billingclient.version"
        android:value="4.0.0" />

    <activity
        android:name="com.android.billingclient.api.ProxyBillingActivity"
        android:configChanges="keyboard|keyboardHidden|screenLayout|screenSize|orientation"
        android:exported="false"
        android:theme="@android:style/Theme.Translucent.NoTitleBar" />

0
投票

https://www.revenuecat.com/docs/google-play-store这里是解决方案
您需要添加许可证测试

© www.soinside.com 2019 - 2024. All rights reserved.