Google In-App billing returns RESULT_BILLING_UNAVAILABLE when Market is not working
I have this minor issue on my head - I've integrated Android Market In-app Billing in py project using the official sample "Dungeons".
It's working smoothly for now, I've discovered only one small problem - when I select "Force stop" & "Clear data" (note: not "cache" but "data") in Market application details or when I reset the phone (which is more or less the same) - I receive RESULT_BILLING_UNAVAILABLE
when I check for the servi开发者_如何转开发ce.
Of course, this is normal, since all the market data is cleared and after I've discussed it whit my boss we've decided to leave it like this - it's a corner case and it's not fatal.
But now our QA is reporting that sometimes she has to start the market at least twice before the in-app billing is available. I don't like this but I don't know what can I do to fix it - starting the market from our application is not an option. Any ideas?
I ran into this issue today on a Motorola Razr.
Make sure your device doesn't have extra accounts. If there is an extra account, it can cause RESULT_BILLING_UNAVAILABLE even if a valid account is there.
精彩评论