Android应用内结算失败您需要登录自己的Google帐户

时间:2016-04-12 19:24:45

标签: android in-app-billing

我遵循本指南http://www.techotopia.com/index.php/Integrating_Google_Play_In-app_Billing_into_an_Android_Application_%E2%80%93_A_Tutorial

如果我使用默认SKU,我的假购买就会成功。

  static final String ITEM_SKU = "android.test.purchased"

但如果我尝试制作一个真实的,我会收到You need to sign in to your Google Account错误。

根据SOF的建议:  1.我在google play console中激活了我的购买  2.复制base64SecurityKey  3.试图在alpha测试模式下创建应用程序我在非开发者帐户上运行应用程序  4.在代码和控制台中使用相同的购买项ID  5.该应用为published

此处的日志:

D/TAG: In-app Billing is set up OK
D/TAG: Starting async operation: launchPurchaseFlow
D/TAG: Constructing buy intent for  be.motti.removead, item type: inapp
D/TAG: Launching buy intent for  be.motti.removead. Request code: 10001

点击后接受' :

D/TAG: Ending async operation: launchPurchaseFlow
D/TAG: Purchase canceled - Response: 2:Unknown

有人可以帮忙吗?

0 个答案:

没有答案
相关问题