简体   繁体   English

getPurchaseInformation()的Inapp结算问题

[英]Inapp billing problem with getPurchaseInformation()

I followed this tut, and app is getting null for mService and mContext in getPurchaseInformation(). 我跟着这个啧啧,并应用在getPurchaseInformation越来越空了MSERVICE和mContext()。

And how to test inapp billing before publishing. 以及如何在发布前测试inapp结算。 Is it the only way to upload apk file as unpublished draft application and test it, 这是将APK文件上传为未发布的草稿应用程序并对其进行测试的唯一方法,

Looking forward for valuable advices. 期待有价值的建议。

Thanks in advance. 提前致谢。

不,您必须使用测试库,请参见: http : //developer.android.com/guide/market/billing/billing_testing.html

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

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