android - 应用内结算不适用于某些设备

标签 android in-app-purchase device

我在新的 android 项目中使用 Trivial_drive 代码并将 apk 文件上传到应用商店并在我的设备和模拟器中运行该项目,它工作正常。
但在像索尼 xperia m dual 这样的设备中它不起作用。
错误截图:

http://www.axgig.com/images/60177538539637605313.png

甚至在 genymotion 模拟器 2.3 和 4.2 版本上它也可以正常工作,但在 4.4.2 版本中它不起作用。

错误:

购买错误:Iabresult:IAB 结果中的空数据(响应:1002:收到错误响应)

这有什么问题?
请帮我

对不起我的英语不好

最佳答案

我看到的第一件事是您在模拟器上测试了应用内购买:
LINK: Here你会发现以下内容:

"After implementing the above changes, compile and run the application on a physical Android device (Google Play Billing cannot be tested within an emulator session) and make sure that the “In-app Billing is set up OK” message appears in the LogCat output panel. "


at this LINK

Don't

1)Don't use emulator for testing its does not support Billing Services.

2)Don't use unsigned apk for Billing services.

3)Don't share your key with any one.

关于android - 应用内结算不适用于某些设备,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/27269716/

相关文章:

c++ - 以编程方式区分物理键盘或虚拟键盘

javascript - 如何在 PHONEGAP 上获取设备 uuid

android - 在 React Native Android 中使用 Auth0-lock 构建失败

android - 如何将 ThreeJS 与 PhoneGap 一起使用?

ios - 从应用程序内购买存储/加载 PNG

ios - IOS如何查看是否有自动续费订阅

android - 探索 Android 中的内部存储

android - 创建新的android项目时出现分层父级错误

ios - 从应用商店中取消收费并为所有用户免费下载应用程序并在应用程序的某些特定功能中添加收费

javascript - html 5拖放在移动屏幕上不起作用