admin管理员组

文章数量:1391925

I got this issue on playstore with the following error when I uploaded my app update.

Your bundle targets SDK 34, but uses Play Core libraries that cannot be used with that version. Your current com.google.android.play:feature-delivery-ktx:2.0.1, com.google.android.play:feature-delivery:2.0.1 libraries are incompatible with targetSdkVersion 34 (Android 14), which introduces a backwards-incompatible change to broadcast receivers and may cause app crashes.

I never used either of the com.google.android.play:feature-delivery libraries. Then I found out that they are sub dependencies of the com.paytm.nativesdk:core:1.3.4 library.

I found that the latest version of this Paytm library is 1.4.1 but even after added all the repos it doesn't seem to detect this version.

So the solution I found that works was to exclude the google play feature delivery libraries from the paytm libraries. This is how I did it and it worked.

implementation("com.paytm.nativesdk:core:1.4.1") {
    exclude group: "com.google.android.play", module: "feature-delivery"
    exclude group: "com.google.android.play", module: "feature-delivery-ktx"
}

I got this issue on playstore with the following error when I uploaded my app update.

Your bundle targets SDK 34, but uses Play Core libraries that cannot be used with that version. Your current com.google.android.play:feature-delivery-ktx:2.0.1, com.google.android.play:feature-delivery:2.0.1 libraries are incompatible with targetSdkVersion 34 (Android 14), which introduces a backwards-incompatible change to broadcast receivers and may cause app crashes.

I never used either of the com.google.android.play:feature-delivery libraries. Then I found out that they are sub dependencies of the com.paytm.nativesdk:core:1.3.4 library.

I found that the latest version of this Paytm library is 1.4.1 but even after added all the repos it doesn't seem to detect this version.

So the solution I found that works was to exclude the google play feature delivery libraries from the paytm libraries. This is how I did it and it worked.

implementation("com.paytm.nativesdk:core:1.4.1") {
    exclude group: "com.google.android.play", module: "feature-delivery"
    exclude group: "com.google.android.play", module: "feature-delivery-ktx"
}

Share Improve this question edited Mar 12 at 12:21 Devenom asked Mar 12 at 11:45 DevenomDevenom 9751 gold badge13 silver badges21 bronze badges
Add a comment  | 

1 Answer 1

Reset to default 0

I got this issue on playstore with the following error when I uploaded my app update.

Your bundle targets SDK 34, but uses Play Core libraries that cannot be used with that version. Your current com.google.android.play:feature-delivery-ktx:2.0.1, com.google.android.play:feature-delivery:2.0.1 libraries are incompatible with targetSdkVersion 34 (Android 14), which introduces a backwards-incompatible change to broadcast receivers and may cause app crashes. 

I never used either of the `com.google.android.play:feature-delivery` libraries. Then I found out that they are sub dependencies of the `com.paytm.nativesdk:core:1.3.4` library.

I found that the latest version of this Paytm library is `1.4.1` but even after added all the repos it doesn't seem to detect this version.

So the solution I found that works was to exclude the google play feature delivery libraries from the paytm libraries. This is how I did it and it worked.

implementation("com.paytm.nativesdk:core:1.4.1") { exclude group:         "com.google.android.play", module: "feature-delivery" exclude group: "com.google.android.play", module: "feature-delivery-ktx" }

本文标签: