1

I get this error in my log when running my app:

W/BillingClient: In-app billing API version 3 is not supported on this device.

I recently added in app purchase. Running in simulator.

Any ideas why that is? This is what I have implemented in build.gradle:

implementation 'com.android.billingclient:billing:2.2.1'
Erik Auranaune
  • 1,384
  • 1
  • 12
  • 27
  • Use a physical device... or use a google play enabled emulator – AgentP May 27 '20 at 16:45
  • @PraveenSP I do not have a physical device for Android. How do I know if the simulator is/is not enabled for google play? – Erik Auranaune May 27 '20 at 16:48
  • Check this ....https://developers.google.com/android/guides/setup – AgentP May 27 '20 at 16:50
  • @PraveenSP Weird. I just tried this and added Pixel 3 with system image "Q", where it says: "We recommend these Google Play images because this device is compatible with Google Play". But when running my app I still get the error: `W/BillingClient: In-app billing API version 3 is not supported on this device.` – Erik Auranaune May 27 '20 at 16:57
  • Does this answer your question? ["in-app billing version 3 NOT supported" with up to date Play Store](https://stackoverflow.com/questions/33180743/in-app-billing-version-3-not-supported-with-up-to-date-play-store) – AgentP May 27 '20 at 16:57
  • @PraveenSP The error got away when I logged into my google account on the new emulator, but nothing happens when I press the buy button. I also tried with this project: https://github.com/mehfal/android (TestApp 3.zip). – Erik Auranaune May 27 '20 at 17:15
  • Nothing Happened ? Can you elaborate it? – AgentP May 27 '20 at 17:17
  • @PraveenSP The purchase does not execute. There should come a box up to confirm the purchase or something, but nothing.. – Erik Auranaune May 29 '20 at 19:20
  • @PraveenSP EDIT: I get error message: `W/BillingClient: Please fix the input params. SKU can't be null.`. Even tho my app is live rn. – Erik Auranaune May 30 '20 at 22:44

0 Answers0