应用程序错误:此版本的应用程序未配置为市场结算 [英] Application Error : This version of the application is not configured for Market Billing
问题描述
由于一两天有可能使用的应用内计费的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,用于测试静态在应用程序 计费响应。这工作没有任何问题。
- 在我上传了APK市场草案(生产签约,没有调试签订),其中包括com.android.vending.BILLING权限。
- 当我这样做,我可以一个'应用内商品的地位添加到我的应用程序在市场上,并设置为公开。
- 在我创建了一个测试用户和reseted我的装置,使该测试用户我的测试设备上的主帐户。
- 在保留的产品ID的仍然有效。
- I first tried the reserved product IDs for testing static in-app billing responses. That works without problems.
- I uploaded a draft APK to the market (with production signing, no debug signing), that included the com.android.vending.BILLING permission.
- When I did that I was able to add a 'In-app Products' to my app in the market and set it status to published.
- I created a test user and reseted my device to make that test user the primary account on my test device.
- The reserved product id's still work.
现在问题来了。当我用我自己的产品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屋!