Description
The application is using the dependency com.google.android.play:core version 1.10.3, which is incompatible with Android 14 (API 34). This causes issues when trying to publish or update the application in the Google Play Console. Starting with Android 14, significant changes to broadcast receivers and other APIs were introduced, and version 1.10.3 of Play Core does not support these changes. Additionally, Google Play requires all apps to target targetSdkVersion 34 to ensure compatibility and security.
To Reproduce
Steps to reproduce the behavior:
- Attempt to synchronize the project or build it using Android Studio.
- Ensure the dependency
com.google.android.play:core:1.10.3 is included in the project.
- Target Android 14 (API 34) by setting
compileSdkVersion or targetSdkVersion to 34 in build.gradle.
- See error when building or publishing the application in Google Play Console.
Error Message
The dependency com.google.android.play:core version 1.10.3 is incompatible with Android 14. Update to a compatible version to avoid crashes and meet publishing requirements.
Proposed Solution
-
Update the dependency to a compatible version:
implementation 'com.google.android.play:core:1.10.4'
-
Adjust the build.gradle configuration to meet Android 14 requirements:
android {
compileSdkVersion 34
defaultConfig {
targetSdkVersion 34
minSdkVersion 24 // Adjust this according to your app's requirements
}
}
Why It's Important
- Publication Compliance: Without these changes, the app cannot be published or updated in the Google Play Console.
- Compatibility: Ensures that the app functions correctly on devices running Android 14 and avoids crashes due to outdated APIs.
- Security: Aligns with Google Play’s security improvements, such as updates to broadcast receivers.
- Future-proofing: Keeps the app in line with current Android development standards, ensuring stability and compatibility with future updates.
Screenshots
Others
- Device: Development Environment
- Android Version: Android 14 (API 34)
- App Version: Current development version
- Downloaded From: Development Environment / Local Build
Description
The application is using the dependency
com.google.android.play:coreversion 1.10.3, which is incompatible with Android 14 (API 34). This causes issues when trying to publish or update the application in the Google Play Console. Starting with Android 14, significant changes to broadcast receivers and other APIs were introduced, and version 1.10.3 of Play Core does not support these changes. Additionally, Google Play requires all apps to targettargetSdkVersion 34to ensure compatibility and security.To Reproduce
Steps to reproduce the behavior:
com.google.android.play:core:1.10.3is included in the project.compileSdkVersionortargetSdkVersionto 34 inbuild.gradle.Error Message
Proposed Solution
Update the dependency to a compatible version:
implementation 'com.google.android.play:core:1.10.4'Adjust the
build.gradleconfiguration to meet Android 14 requirements:Why It's Important
Screenshots
Others