java - 应用内计费给我错误

标签 java android eclipse

我一直在使用 google 和 blundell 的应用计费代码教程来研究应用计费代码中的地牢示例。除了更改公钥、重命名应用程序并将其上传到我已经完成的谷歌之外,这两个项目基本上都是开箱即用的。这两个应用程序最近(大约 3 天前)运行良好。现在我在 LogCat 和设备中都遇到了这个错误。

设备:

Error retrieving information from server. [DF-DFERH-01]

日志:

10-13 02:26:12.449: E/Volley(916): [90] BasicNetwork.performRequest: Unexpected response code 500 for https://android.clients.google.com/fdfe/purchaseStatus
10-13 02:26:12.457: W/Finsky(916): [1] CheckoutPurchase.onErrorResponse: DisplayErrorMessage[Error retrieving information from server. [DF-DFERH-01]]
10-13 02:26:12.457: E/Finsky(916): [1] CheckoutPurchase.setError: type=UNKNOWN, code=-1, message=Error retrieving information from server. [DF-DFERH-01]

最佳答案

所以在联系 Android 支持后,我得到了答案。我还没有验证非静态测试是否有效。我会让大家知道的。

Comment #190 on issue 35564 by theother...@gmail.com: error (DF-DFERH-01) http://code.google.com/p/android/issues/detail?id=35564

Hi everyone. So I experienced the same problem testing the static responses these last few days. I decided to ignore them and go ahead and test real products (I was able to do this since my app already had live versions published, without In-app purchases of course). Testing real products did work however.

After reading the IAP Testing guide (http://developer.android.com/guide/google/play/billing/billing_testing.html#billing-testing-static) I came across a quote:

"Note: Making in-app billing requests with the reserved product IDs overrides the usual Google Play production system. When you send an in-app billing request for a reserved product ID, the quality of service will not be comparable to the production environment."

So it seems something is indeed wrong with the static response service, but this does not reflect the conditions of the actual Play Store. I can vouch for this because my now updated and live App has IAP working without problems. So if you're having this problem, test real products if you can; it will probably work for you.

关于java - 应用内计费给我错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/12871929/

相关文章:

Eclipse 上的 JavaFx,无法加载 .fxml

java - install4j 没有看到 .dll 文件

android - 如何在 Android 1.5 的应用程序同步设置配置屏幕中列出我的应用程序?

java - 将图表存储在数据库中

java - Android Studio 代码与 Eclipse ADT 中的代码相同吗?

java - 在java中查找服务器响应时间

java - 如何从aws lambda java中的类路径读取文件

java - 三星 Galaxy Y S5360 的布局问题

java - 使用 AlarmManager 来执行将来的特定任务

regex - eclipse - 正则表达式 : replace multiple group