gpt4 book ai didi

android - 无法使用测试帐户 "The publisher cannot purchase this item"进行 Android 应用内购买

转载 作者:塔克拉玛干 更新时间:2023-11-02 20:40:29 24 4
gpt4 key购买 nike

我正在尝试在 Android 中测试应用内购买。

我已将私有(private)签名的 apk 上传到 Google Player Developer Console。它目前是“Alpha 测试”部分的草稿

当我尝试购买商品时,出现以下错误:

The publisher cannot purchase this item.

enter image description here

这让我感到困惑,因为我使用的是测试帐户,而不是用于发布此应用的帐户。

enter image description here

enter image description here

我怀疑它可能会失败,因为我的手机上根本没有开发者帐户,但这是我的私有(private)电话,所以我不想从手机上删除该帐户(特别是如果我不确定它会解决问题)。

谁能确认是否必须从手机中完全删除发布者帐户才能测试应用内购买?

谢谢!

最佳答案

首先你应该在脑海中记下

测试帐号:

Google Play does not allow you to use your developer account to directly purchase in-app products that you have created yourself, you'll need to create test acccounts under your developer account profile.

更多信息:

1) http://developer.android.com/training/in-app-billing/test-iab-app.html#PlayItemTest

2) http://developer.android.com/google/play/billing/billing_testing.html#billing-testing-test

多个帐户:

Note: To make test purchases, the license test account must be on the user’s Android device. If the device has more than one account, the purchase will be made with the account that downloaded the app. If none of the accounts has downloaded the app, the purchase is made with the first account.Users can confirm the account that is making a purchase by expanding the purchase dialog.

检查此链接:

http://developer.android.com/google/play/billing/billing_testing.html#testing-purchases

希望它能解决您的问题。如果您想了解更多信息,请告诉我。

关于android - 无法使用测试帐户 "The publisher cannot purchase this item"进行 Android 应用内购买,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/22428739/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com