Android 应用内结算项目不可用

发布于 2024-11-17 21:29:31 字数 841 浏览 1 评论 0原文

我正在 Android 中实现应用内计费,这让我很头疼。

当我尝试从应用内商店购买产品时,突然出现:“商品不可用”,
但如果我尝试 android_test_purchased 一切都会顺利。

我列出了“所有”导致此问题的可能原因并检查了每一个。
列表如下:

  • Security.java 中,公钥应与

  • 设备中 Market 应用程序的版本应为 2.3.4 或更高版本

  • 您用于测试的设备必须运行标准版本的 Android 1.6 或更高版本

  • 正在测试的应用程序必须以草稿的形式上传到Android市场,并且必须经过签名

  • 设备中安装的应用程序必须与以草稿形式上传到市场的应用程序相同

  • < p>设备必须具有[email protected] 帐户作为其主帐户,并且此帐户应定义为 Android 市场中的测试帐户

  • 产品对于 Android 市场中的应用内结算,必须具有与显示的 ID 相同的 ID应用

  • Android 市场中的应用内产品必须已发布

任何对此列表的建议和修改我们非常感激。

谢谢

I'm implementing in-app billing in Android and it's giving me headaches.

When I try to buy my products from the in-app store, bang: "Item unavailable",
but if I try the android_test_purchased everything goes fine.

I made a list with 'all' the possible causes for this problem and checked each one.
Here is the list:

  • in Security.java, the public key should be same as the one in the Android Market account

  • the version of the Market application in the Device should be 2.3.4 or higher

  • the device you use for testing must run a standard version of the Android 1.6 or later

  • the application being tested must be uploaded as draft, in the Android market, and must be signed

  • the application installed in the device must be the same as the one that was uploaded as draft to the market

  • the device must have a [email protected] account as its primary account and this account should be defined as a test account in the Android market

  • the products for in-app billing in the Android market must have the same IDs as the ones displayed in the application

  • the in-app products in the Android market must be published

Any suggestion and modification to this list is well appreciated.

Thanks

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

铁轨上的流浪者 2024-11-24 21:29:32

我还想提的一点是
您用于测试购买的帐户必须在您的市场帐户中作为测试帐户提及

one more point I like to mention is
The account u are using for test purchases must b mentioned as a test account in your market account

机场等船 2024-11-24 21:29:32

我遇到了同样的问题。解决方案是等待,需要几个小时,也许一天,直到未发布的应用程序中已发布的项目变为“在线”。

I've ran into same issue. Solution was to wait, it take several hours, perhaps one day, until published items in unpublished app become "online".

流年已逝 2024-11-24 21:29:32

我可能也有同样的问题。似乎存在一个已知问题,即 8 月 1 日之后创建的测试帐户无法正常工作。
请参阅帮助页面中的已知购买问题

不过,当这个问题得到解决时,没有任何地方提及。

I might have the same problem. There seems to be a known issue that test accounts created after August 1st is not working.
See Known Purchasing issues from Help pages

No mention anywhere when this is resolved though..

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文