【问题标题】:In app Purchase issue in android在android中的应用购买问题
【发布时间】:2012-01-01 04:59:55
【问题描述】:

我已经在我的应用程序中成功测试了产品 ID(即 android.test.purchased 等),但我的真实产品 ID 出现异常。任何帮助将不胜感激。 我还发布了带有草稿应用程序的产品列表。

我得到以下异常::::

11-18 15:33:15.367: E/Volley(20873): [12] BasicNetwork.performRequest: Unexpected response code 500 for https://android.clients.google.com/fdfe/purchase
11-18 15:33:15.378: W/Finsky(20873): [1] CheckoutPurchase.onErrorResponse: DisplayErrorMessage[The item that you were attempting to purchase could not be found.]
11-18 15:33:15.382: D/Volley(20873): [11] BasicNetwork.logSlowRequests: HTTP response for request=<[ ] https://android.clients.google.com/fdfe/details?doc=inapp:com.inappdemo:s1 NORMAL 232> [lifetime=3146], [size=727], [rc=200], [retryCount=1]
11-18 15:33:15.386: E/Finsky(20873): [1] CheckoutPurchase.setError: type=UNKNOWN, code=-1, message=The item that you were attempting to purchase could not be found.

提前致谢。

【问题讨论】:

    标签: android in-app-purchase


    【解决方案1】:

    我解决了这个问题,将我的手机主 Google 帐户设置为测试帐户: http://developer.android.com/guide/market/billing/billing_admin.html#billing-testing-setup

    我希望这会有所帮助!

    【讨论】:

      【解决方案2】:

      您应该将自己作为测试帐户添加到您的发布者帐户。 不要忘记您不能从自己购买(测试帐户应该与发布者帐户不同)

      【讨论】:

      • 嗯..感谢您提供的信息!哎呀……在我花了两天时间把头撞在墙上之前,我会很高兴知道的。
      【解决方案3】:

      我认为您尚未激活您的APK。只需激活您的APK..然后它将处于Ready to Publish 状态。现在你的APK 在草稿中。

      【讨论】:

        【解决方案4】:

        我发现,对于我的应用,此错误是由于在开发者控制台上将 price 字段设置为 $0.00 引起的。即使 Google 声明价格不能低于 0.99 美元,他们仍然允许您将价格设置为 0.00 美元,然后给出这个神秘的错误。

        【讨论】:

          猜你喜欢
          • 2012-03-12
          • 1970-01-01
          • 1970-01-01
          • 2014-06-21
          • 1970-01-01
          • 2021-10-03
          • 1970-01-01
          相关资源
          最近更新 更多