Closed mattgrande closed 5 years ago
I have gotten an "IAB helper not available" message before when the account used to test the app is not on the list of testers.
Please make sure to upload and publish your apk to the alpha or beta channels and that the test account is in the google+ community that was granted access to testing. With the test account, follow the url that appears in the alpha or beta channels after the apk is published and make sure to accept the test invitation.
If you just published your apk in the alpha or beta channels, you may need to wait a few hours before the url works.
Hi, Even I'm receiving same error
java.lang.IllegalStateException: IAB helper is not set up. Can't perform operation: queryInventory at com.smartmobilesoftware.util.IabHelper.checkSetupDone(IabHelper.java:784) at com.smartmobilesoftware.util.IabHelper.queryInventoryAsync(IabHelper.java:612) at com.smartmobilesoftware.util.IabHelper.queryInventoryAsync(IabHelper.java:641) at jp.wizcorp.phonegap.plugin.wizPurchase.IAP$2.onIabSetupFinished(IAP.java:285) at com.smartmobilesoftware.util.IabHelper$1.onServiceConnected(IabHelper.java:260)
Can anyone help me solve this?
So, I'm confused... I've followed the example, and traced through the code, and the IabHelper is being successfully set up... then when it tries to query the inventory, I get an error saying "In-app billing error: Illegal state for operation (queryInventoryAsync): IAB helper is not set up."
The logs indicate that the setup is being completed successfully, however the queryInventoryAsync call fails every time.
I have no idea where to go from here, any help would be appreciated. I tried removing the "setup" check, but that didn't help...
Here's my logs: