A
A
anya_hacker2021-10-18 07:28:01
Java
anya_hacker, 2021-10-18 07:28:01

How to fix an error with payment in the Android application in the Play Market?

I'm trying to put an android application in the play market. The application is written in java. I made purchased features in it using the android-inapp-billing-v3 library: https://github.com/anjlab/android-inapp-billing-v3
However, when I try to upload the application, the play market gives an error:
this application uses an unsupported version of play payments. To publish it, update the payment library to version 3 or later.
But after all I use 3 version why the error takes off? All code was taken from this page https://github.com/anjlab/android-inapp-billing-v3
Error:
616cf70c1ffc7797965309.png

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Dmitry Roo, 2021-10-18
@xez

But after all I use 3 version why the error takes off?

You are using a third party library called "android-inapp-billing-v3" and the error is about the "Play payments" version.
In android-inapp-billing-v3/library/build.gradle :
dependencies {
    androidTestImplementation 'com.android.support.test:runner:1.0.2'
    androidTestImplementation 'com.android.support.test:rules:1.0.2'
    implementation 'com.android.support:support-annotations:28.0.0'
    implementation 'com.android.billingclient:billing:2.0.1'  // Видимо об этом идет речь
}

O
Oleg, 2021-10-18
@402d

Use native library. Anjlab used for a long time. And it has not been rewritten, since from the android itself the third version is already convenient in itself.
https://github.com/402d/TextToPrint/blob/e10d0619e... Online
purchase example

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question