Google play service stops working when I make a purchase with android.test.purchased

前端 未结 2 2032
旧巷少年郎
旧巷少年郎 2020-12-05 12:22
Bundle buyIntentBundle = inappService.getBuyIntent(3, this.getPackageName(), \"android.test.purchased\", \"inapp\", \"myUserId\");
int responseCode = buyIntentBundle         


        
相关标签:
2条回答
  • 2020-12-05 12:27

    As per @MarsPeople said on comment It's because of google play store's new update (version 8.0.26.R-all [0] [PR] 161173660). I tested(in app billing) around 3-4 device which contain this google play store version so in that device google play store crash and get nullpointer exception, but When I uninstall the update and test it with older version (like in my case version 5.1.11) it work perfectly but after some time play store update forcefully (version 8.0.26.R-all [0] [PR] 161173660) and then I tried it then google play store crash. So yes we have to wait until google give new update on this issue :)

    but surprisingly it work perfectly with real SKU which is provided from google console. and not work with test SKU (android.test.purchased)

    I hope this will help someone who get this issue on google play store version 8.0.26.R-all [0] [PR] 161173660

    0 讨论(0)
  • 2020-12-05 12:52

    I contacted with Google Developer Support and they said it's "Google Play Store bug"

    Google Reply:

    We are aware of this issue, and our engineers are currently investigating it. I will provide more updates as soon as I get any information from them.

    So there is no need to do anything about this crash. Just wait for bug fixes on Google Play Store App.


    EDIT(08.08.2017)

    Today the "android.test.purchased" crash problem fixed. The Google Play Store App version is 8.0.73.R-all [0] [PR] 162689464 now.

    0 讨论(0)
提交回复
热议问题