Play Console Error Fixed – Play billing library version 6.0.1 – Unreal Engine 5.7

By Admin

IMPORTANT:

BEFORE MAKING ANY CHANGES, MAKE A BACKUP OF THE ORIGINAL FILES

JUST SHOWING WHAT WORKED FOR ME

 

1. Close Unreal Engine.

2. Navigate to your Unreal Engine installation directory. Go to the following subfolder: …\Epic Games\UE_5.X\Engine\Build\Android\Java\gradle\app\

(Replace UE_5.X with your exact engine version, e.g., UE_5.7)

3. Locate the file build.gradle and make backup of this file.

4. Open build.gradle in \app\ folder with a text editor (like Notepad++ or VS Code).

5. Scroll down to dependencies { … } block.

6. Paste the following two lines at the top of that dependencies block:

dependencies {

    def billing_version = “6.1.0”

    implementation “com.android.billingclient:billing:$billing_version”

Starting few lines should look like this:

Note – If Unreal Engine already had an older billing line hidden (such as implementation ‘com.android.billingclient:billing:4.0.0’), either delete that old line or put // in front of it to comment it out.

7. Save this file

8. Delete your project’s Intermediate, Saved and Binaries folders.

9. Open the project, change Store version in the Project settings and repackage the app.