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计费响应.这没有问题.
 - 我向市场上传了一个包含 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.
这篇关于应用程序错误:此版本的应用程序未针对市场计费进行配置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:应用程序错误:此版本的应用程序未针对市场计费进行配置
				
        
 
            
        基础教程推荐
- UIImage 在开始时不适合 UIScrollView 2022-01-01
 - iOS - UINavigationController 添加多个正确的项目? 2022-01-01
 - navigationItem.backBarButtonItem 不工作?为什么上一个菜单仍然显示为按钮? 2022-01-01
 - 如何将图像从一项活动发送到另一项活动? 2022-01-01
 - Play 商店的设备兼容性问题 2022-01-01
 - Android Volley - 如何动画图像加载? 2022-01-01
 - 如何比较两个 NSDate:哪个是最近的? 2022-01-01
 - Xcode UIView.init(frame:) 只能在主线程中使用 2022-01-01
 - SwiftUI-ScrollViewReader的ScrollTo不滚动 2022-01-01
 - 为什么姜饼模拟器方向卡在应用程序中? 2022-01-01
 
    	
    	
    	
    	
    	
    	
    	
    	
				
				
				
				