简体   繁体   English

Android应用内结算错误消息

[英]Android In-app Billing Error Message

I was having problems earlier implementing in-app billing for android. 我在为Android实施应用内结算时遇到了问题。 I have fixed that issue, but following that is another issue. 我已经解决了这个问题,但是接下来是另一个问题。 When I run the application on my phone and another test account phone, I get the error: "This version of the application is not configured for Market billing." 当我在手机和另一个测试帐户手机上运行该应用程序时,出现错误:“此版本的应用程序未配置为市场计费。” I have installed the new version of the app to the Android market as an APK and added the items. 我已将新版本的应用程序作为APK安装到Android市场,并添加了项目。 When it opens the in-app billing, it shows the name of the item to purchase from the Android market, but gives me the error. 打开应用内结算时,它会显示要从Android市场购买的商品的名称,但出现错误。 When I tried the static example from Google, that worked. 当我尝试使用Google的静态示例时,该方法有效。

Thanks 谢谢

To get this to work you need to sign the package with your release key/certificate, upload to the Market and save it (without activating). 要使此功能生效,您需要使用发布密钥/证书对软件包进行签名,然后将其上传到市场并保存(不激活)。 Then install the release APK to your device to be able to test. 然后将发行版APK安装到您的设备上即可进行测试。 The APK you install on the phone has to have the same version and be signed with the same certificate for IAB testing to work. 您在手机上安装的APK必须具有相同的版本,并且必须使用相同的证书签名才能进行IAB测试。 Details here . 详细信息在这里

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM