无法在IabHelper中获取项目信息-应用内计费-Android
当我调用IabHelper.QueryInventoryFinishedListener时,它不会返回任何项目信息,如 下面 D/IabHelper(2233): Calling getPurchases with continuation token: null D/IabHelper(2233): Owned items response: 0 D/IabHelper(2233): Continuation token: null D/IabHelper(2233): Querying SKU details. D/IabHelper(2233): queryPrices: nothing to do because there are no SKUs. D/IabHelper(2233): Ending async operation: refresh inventory 我将签名的apk上传到GP上,并使用“adb install release.apk”命令在我的设备中安装了相同的apksame版本和签名 此外,我还在“应用内产品”和Gmail帐户上设置了测试访问权限 我等了几个小时,但它仍然说“查询价格:因为没有SKU,所以没什么可做的。” 我以前在另一个apk中使用了“应用内计费”,这很好。 我不知道为什么这次不行 对不起,我的英语不好。无法在IabHelper中获取项目信息-应用内计费-Android,android,eclipse,in-app-billing,Android,Eclipse,In App Billing,当我调用IabHelper.QueryInventoryFinishedListener时,它不会返回任何项目信息,如 下面 D/IabHelper(2233): Calling getPurchases with continuation token: null D/IabHelper(2233): Owned items response: 0 D/IabHelper(2233): Continuation token: null D/IabHelper(2233): Querying SK
谢谢你的时间 万一你无意中发现这一点,试着: 在“alpha测试”或“beta测试”选项卡中上载apk文件,但如果应用程序尚未向公众提供,则不要在“生产”选项卡中上载apk文件 提供所有必需的信息截图,添加测试用户,创建并激活应用内产品 将应用程序设置为“已发布”。 几个小时后,Google Play应该会返回SKU,并提供详细信息