Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incompatibility of Play Core 1.10.3 with Android 14: Update Required for Google Play Compliance #1210

Open
lojedaa opened this issue Nov 29, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@lojedaa
Copy link

lojedaa commented Nov 29, 2024

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:

  1. Attempt to synchronize the project or build it using Android Studio.
  2. Ensure the dependency com.google.android.play:core:1.10.3 is included in the project.
  3. Target Android 14 (API 34) by setting compileSdkVersion or targetSdkVersion to 34 in build.gradle.
  4. 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

  1. Update the dependency to a compatible version:

    implementation 'com.google.android.play:core:1.10.4'
  2. 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

Captura de pantalla 2024-11-29 a la(s) 2 42 47 a m

Others

  • Device: Development Environment
  • Android Version: Android 14 (API 34)
  • App Version: Current development version
  • Downloaded From: Development Environment / Local Build
@lojedaa lojedaa added the bug Something isn't working label Nov 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant