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

Update your com.google.android.play:core:1.10.3 Maven dependency to an Android 14 compatible version! Your current com.google.android.play:core:1.10.3 library is incompatible with targetSdkVersion 34 (Android 14), which introduces a backwards-incompatible change to broadcast receivers. As a reminder, from August 31, 2024, Google Play requires all new app releases to target Android 14. Update to the latest library version dependency to avoid app crashes. #3316

Open
rico345100 opened this issue Sep 11, 2024 · 2 comments
Labels

Comments

@rico345100
Copy link

Describe the bug
Possible related:
#3315

Uploading my game built with Unity 2021.3.43f1 or 2022.3.45f1 used EDM4U 1.2.182, Google rejects my upload with:

Update your com.google.android.play:core:1.10.3 Maven dependency to an Android 14 compatible version! Your current com.google.android.play:core:1.10.3 library is incompatible with targetSdkVersion 34 (Android 14), which introduces a backwards-incompatible change to broadcast receivers. As a reminder, from August 31, 2024, Google Play requires all new app releases to target Android 14. Update to the latest library version dependency to avoid app crashes.

So I opened up mainTemplate.gradle and found Play Core 1.10.3 is used.

apply plugin: 'com.android.library'
**APPLY_PLUGINS**

dependencies {
    implementation fileTree(dir: 'libs', include: ['*.jar'])
// Android Resolver Dependencies Start
    implementation 'com.google.android.play:core:1.10.3' // Assets/GooglePlayPlugins/com.google.play.core/Editor/PlayCoreDependencies.xml:3
    implementation 'com.google.games:gpgs-plugin-support:0.10.14' // Assets/GooglePlayGames/Editor/GooglePlayGamesPluginDependencies.xml:11
// Android Resolver Dependencies End
**DEPS**}

Deleting all custom gradle files and create them again doesn't work, force resolve, either.

To Reproduce
Steps to reproduce the behavior:

  1. Build a game with Unity 2021.3.43f1 or 2022.3.45f1
  2. Upload ABB to Google Play Console
  3. Upload rejected by Google

Expected behavior
(Probably) Play Core related stuff needs to be updated and Google accepts my update.

Versions

  • Unity version: 2021.3.43f1 or 2022.3.45f1
  • Google Play Games Plugin for Unity version: 0.10.14

Additional context
Also using Unity Ads 4.4.2 and Unity IAP 4.12.2

@rico345100 rico345100 added the bug label Sep 11, 2024
@hippogamesunity
Copy link

+1
The best option is to revert and do nothing till Nov 1 (extended period while we can still publish updates).

@mii-47
Copy link

mii-47 commented Sep 27, 2024

https://discussions.unity.com/t/how-to-successfully-sdk30-and-gradle-7-x/855384/24

I resolved the issue by using the PatchPlayCoreLibrariesGradlePostProcessor.cs attached to this thread to remove com.google.android.play:core after the build.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants