Skip to main content

Google Play Billing Library Warning

MyTarget Ads (VK Ads) SDK: All versions


In July 2025, Google Play Console began displaying the following warning:


Your app must use version 7.0.0 or higher of the Google Play Billing Library.



This warning is caused by a transitive dependency introduced via the MyTarget Ads (VK Ads) SDK:

com.my.target:mytarget-sdk:5.27.1  
└── com.my.tracker:mytracker-sdk:3.3.2
└── com.android.billingclient:billing:[5.0.0, 7.0.0) → 6.2.1

This version range allows up to (but not including) version 7.0.0, causing the outdated version 6.2.1 to be resolved.
Starting in 2025, Google Play requires apps to use Billing Library version 7.0.0 or higher, making this a compliance issue.

Solution

To fix this issue, you must exclude the transitive dependency and manually add the latest version of Billing Library:

implementation('com.my.target:mytarget-sdk:5.27.1') {
exclude group: 'com.android.billingclient', module: 'billing'
}

// Add the latest supported version explicitly
implementation 'com.android.billingclient:billing:7.0.0'

After rebuilding the app and submitting the updated version to Google Play, the warning should no longer appear.

note

To verify the resolved dependency tree, you can use the following Gradle command:

./gradlew app:dependencies