应用程序错误:此版本的应用程序未针对市场计费进行配置 [英] Application Error : This version of the application is not configured for Market Billing

查看:12
本文介绍了应用程序错误:此版本的应用程序未针对市场计费进行配置的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

几天后就可以在 Android 应用中使用应用内结算.当然很酷.因此,我开始为我的应用程序进行更新以实现这一点.但是现在我遇到了一些问题.这就是我所做的:

Since a couple of days it's possible to use in-app-billing in Android apps. Very cool of course. So, I started working on a update for my application to implement this. But now I run into some problems. This is what I did:

  • 我首先尝试了用于测试静态应用内的预留产品 ID计费响应.这没有问题.
  • 我向市场上传了一个包含 com.android.vending.BILLING 权限的 APK 草案(有生产签名,没有调试签名).
  • 当我这样做时,我能够在市场上向我的应用添加应用内产品"并将其状态设置为已发布.
  • 我创建了一个测试用户并重置了我的设备,以使该测试用户成为我的测试设备上的主要帐户.
  • 保留的产品 ID 仍然有效.

现在问题来了.当我使用自己的产品 ID(我之前添加的产品 ID,见上文)时,会显示一个带有以下文本的对话框:

Now comes the problem. When I use my own product ID (the one I added before, see above) a dialog is shown with the following text:

应用程序错误:此版本的应用程序未配置市场计费.有关更多信息,请查看帮助中心."

我在日志中找不到任何奇怪的地方.任何人都知道我在这里做错了什么?

There is nothing strange I can find in the log. Anyone knows what I'm doing wrong here?

推荐答案

我刚刚遇到这个问题并意识到这是因为我正在运行我的应用程序的调试、未签名版本.在 Eclipse 中,当我导出并签署我的应用程序并将其安装在手机上时,我能够使用我的应用内产品而不会看到此错误消息.

I just encountered this issue and realized it was because I was running a debug, unsigned version of my app. In Eclipse, when I exported and signed my application and installed it on the phone, then I was able to use my in-app products without seeing this error message.

这篇关于应用程序错误:此版本的应用程序未针对市场计费进行配置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆