Google应用内帐单库1.0的responseCode 4 [英] responseCode 4 of Google In-App Billing Library 1.0

查看:451
本文介绍了Google应用内帐单库1.0的responseCode 4的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用Google应用内结算库1.0在我的应用中为广告免费版本编程应用内结算功能.而且我已经完成了此处为codelab 的所有阶段到目前为止.但是,我总是遇到此错误,并且在onPurchasesUpdated()处返回的responseCode是4(= ITEM_UNAVAILABLE).

I'm programming in-app billing function in my app for ads free version by using google in-app billing library 1.0. And I've gone through all stages of here codelab until now. However, I alway meet this error and returned responseCode is 4 (= ITEM_UNAVAILABLE) at onPurchasesUpdated().

我已经在Google Play控制台上注册了我的产品,并在3个小时前将其激活.时间不够吗?还是...我错过了任何步骤?请让我知道怎么了?谢谢. :)

I had already registered my product item at google play console and activated it about 3 hours ago. Isn't it enough time? Or... are there any steps that I missed? Please let me know what is wrong? Thanks. :)

推荐答案

您可以遵守列表吗?

  • 使用发布密钥库签署发布apk
  • 将先前已签名的APK至少上传到Google Play的Alpha或Beta版本
  • 使用已激活的特定ID开始购买流程

如果要进行测试(无偿)购买,则必须注册您的电话用户,并且该用户应与开发者帐户之一不同.

If you want to make test(no pay) purchases you have to register your phone user and the user should be different from the one of the developer account.

这篇关于Google应用内帐单库1.0的responseCode 4的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆