Android应用内计费问题
我尝试了 Google 的示例 Dungeon 应用程序来购买一个项目,我已在我的开发者帐户上上传了签名的 apk。我从市场下载了它,当我尝试购买剑物品时,屏幕上显示,
sword_001:请求购买已返回 RESULT_ERROR
这不是很具有描述性。
尽管我已经将该项目放在开发人员控制台上的应用程序上,并且它显示了计费屏幕,并且我单击了购买项目,但出现了该错误。
在仔细检查 logcat 时,我发现了这个字符串。我仍然不知道如何解决这个问题
05-12 20:28:31.695: DEBUG/vending(1922): [102] BaseAction.run(): ApiException: com.android.vending.api.ApiException: 来自后端的错误。请求=com.android.vending.model.PurchaseOrderRequest,响应=INTERNAL_SERVICE_ERROR
I tried out Google's example Dungeon application to buy an item i have uploaded the signed apk on my developer account. I downloaded it from the market and when i try to buy the sword item it says on the screen,
sword_001: request purchase reeturned RESULT_ERROR
Which wasn't very descriptive.
Even though I had already put the item up on the application on my developer console, and it showed the billing screen and i clicked buy item but that error appeared.
On close inspection on the logcat i found this string. I still have no clue how to fix this
05-12 20:28:31.695: DEBUG/vending(1922): [102] BaseAction.run(): ApiException: com.android.vending.api.ApiException: Error from backend. Request=com.android.vending.model.PurchaseOrderRequest, Response=INTERNAL_SERVICE_ERROR
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您假设将 Sword_001 添加为市场帐户中的产品列表
Your suppose to add the sword_001 as a product list in your market account
请使用此链接 https://github.com/robotmedia/AndroidBillingLibrary/ 这对您非常有用.and android-billing 库也很好用。我在我的项目中实现了这个库,并尝试一下。
please used this link https://github.com/robotmedia/AndroidBillingLibrary/ this is very useful for you.and android-billing library is also good working.i implement this library in my project work well try it.