
我正在尝试在Android上进行应用程序内计费,但在尝试初始化事务时继续获取以下logcat输出:
// from logcat, BillingService:Billing service connectedCheckBillingSupportedCheckBillingSupported response code: RESulT_OKRestoreTransactions restoreTransactions received RESulT_OK request ID: 12345 request ID: -1handleCommand() action: [com.androID.vending.billing.RESPONSE_CODE].RestoreTransactions: RESulT_DEVELOPER_ERROR我的设置:
>我在清单中有结算权限.
>计费服务和接收方在清单中定义.
>我的应用程序未发布,我只是有一个草稿.
>我创建了一个应用内商品,并将其发布.
>我添加了一个测试帐户,但不确定它在这一点上有所作为.
>市场上的apk草案和我手机上的apk都是在发布模式下使用相同的密钥签名并具有相同的versionCode.
我已经在应用内购买了在另一个应用程序中工作,但在那种情况下,我已经发布了该应用程序的一个版本.在这种情况下(如#3中所述),我从未发布过一次apk.为了实现这个目的,我们是否必须发布一次应用程序?我假设没有,
谢谢
解决方法:
您无需在Google Play上发布该应用,草稿就足够了.
你提到的6分是可以的,但我想你需要检查文档中提到的额外要求:
RESulT_DEVELOPER_ERROR:总结Indicates that an application is trying to make an in-app billing
request but the application has not declared the
com.androID.vending.BILliNG permission in its manifest. Can also
indicate that an application is not properly signed, or that you sent
a malformed request, such as a request with missing Bundle keys or a
request that uses an unrecognized request type.
以上是内存溢出为你收集整理的android – 应用内结算,无法使RESULT_DEVELOPER_ERROR消失全部内容,希望文章能够帮你解决android – 应用内结算,无法使RESULT_DEVELOPER_ERROR消失所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
微信扫一扫
支付宝扫一扫
评论列表(0条)