此版本的应用程序未配置为通过 Google Play 计费
问题描述:
当我尝试使用应用内结算运行我的应用程序时,我收到错误消息:此版本的应用程序未配置为通过 Google Play 结算.查看帮助中心了解更多信息".
When I try to run my application with in-app billing I am getting the error: "This version of the application is not configured for billing through Google Play. Check the help center for more information".
我已经在清单文件中获得了计费许可,并且我已将签名的 .apk 作为草稿上传到 Google Play,并且我还在我的手机上安装了相同的签名 apk.
I have the billing permission already in the Manifest file and I have a signed .apk uploaded as a draft onto Google Play and I have also installed that same signed apk onto my phone.
有关如何解决此问题的任何帮助?
Any help on how to solve this issue?
答
啊,尝试了几个小时后找到了解决方案.
Ahh found the solution after trying for a couple of hours.
- Google 需要一段时间来处理应用程序并将其更新到他们的服务器,而我则需要大约半天的时间.因此,在将 apk 保存为 Google Play 上的草稿后,您必须等待几个小时,应用内商品才能正常响应并允许定期购买.
- 导出并签署 APK.尝试进行购买的未签名 APK 会出错.