Skip to content

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

@lojedaa

Description

@lojedaa

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions