Android In-App Billing error You need to sign into your google account

前端 未结 10 2774
失恋的感觉
失恋的感觉 2020-12-13 18:13

I am implementing in-app purchase using https://github.com/anjlab/android-inapp-billing-v3 . But while in app pop up open it shows \"Error Authentication is required.You nee

相关标签:
10条回答
  • 2020-12-13 18:58

    Improtant ! I've spent a lot of time trying to find out why I'm getting error "Error Authentication is required.You need to sign into your google account". And after a lot of hours I found out - I was trying to access wrong item id from the console. In the developer console subscription item had id "premium" and I've tried to access "premium_version" item. Stupid mistake but error from google is absolutely not informative. Hope this helps

    0 讨论(0)
  • 2020-12-13 18:59

    If you are using google samples (like trivial drive) it might happen because of old .aidl file. Receive the latest version to test your application.

    0 讨论(0)
  • 2020-12-13 19:04

    Make sure you're logged into the Play Store with the test account. Restart the phone. It should work, at least in my case the restart was necessary.

    0 讨论(0)
  • 2020-12-13 19:06

    I was facing the same issue, using the correct Product ID for every In App Purchase item. My app was ready to publish on Google Play (with an APK in Alpha testing), but it wasn't submitted. The solution was to submit the app to review by the Google Play Developer Console team.

    Hope it helps you!

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