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 Play Core Maven dependency to an Android 14 compatible version! #640

Open
Paget96 opened this issue Jun 19, 2024 · 7 comments
Open

Comments

@Paget96
Copy link

Paget96 commented Jun 19, 2024

Issues and steps to reproduce

Update com.google.android.play
Jun 18, 2024 18:16
com.google.android.play:core has added this note for core:1.3.2:

Update your Play Core Maven dependency to an Android 14 compatible version! Your current Play Core library is incompatible with targetSdkVersion 34 (Android 14), which introduces a backwards-incompatible change to broadcast receivers to improve user security. As a reminder, from August 31, Google Play requires all new app releases to target Android 14. Update to the latest Play Core library version dependency to avoid app crashes: https://developer.android.com/guide/playcore#playcore-migration

You may not be able to release future versions of your app with this SDK version to production or open testing.

Version of the flexbox library

3.0.0

So, this lib needs an update, definitely.

@premkumarmistry
Copy link

Replace with
implementation 'com.google.android.play:asset-delivery:2.2.2'
implementation 'com.google.android.play:app-update:2.1.0'
implementation 'com.google.android.gms:play-services-tasks:18.2.0'

@Paget96
Copy link
Author

Paget96 commented Jun 21, 2024

Replace with implementation 'com.google.android.play:asset-delivery:2.2.2' implementation 'com.google.android.play:app-update:2.1.0' implementation 'com.google.android.gms:play-services-tasks:18.2.0'

I know, I just meant to make it official. At the moment I have pulled the lib and integrated into the app

@tahiriabdo131
Copy link

tahiriabdo131 commented Jul 24, 2024

What about the other two librarires :
implementation com.google.android.play:review:2.0.1
implementation com.google.android.play:feature-delivery:2.1.0

we can add them also ?

@amantarento
Copy link

still i am getting this issue @premkumarmistry
implementation 'com.google.android.play:asset-delivery:2.2.2'
implementation 'com.google.android.play:app-update:2.1.0'
implementation 'com.google.android.gms:play-services-tasks:18.2.0' even after using this one .

@SaiGaneshRachamadugu
Copy link

@Paget96, @premkumarmistry still getting the error even after updating

@premkumarmistry
Copy link

@Paget96 @SaiGaneshRachamadugu @amantarento @tahiriabdo131
Please update the dependencies and SDK versions as follows:

  1. Update targetSdkVersion to 34.
  2. Set minSdkVersion to either 21 or 26 (whichever is appropriate for the project).
  3. The updated dependencies should be:
implementation 'com.google.android.play:asset-delivery:2.2.2'
implementation 'com.google.android.play:app-update:2.1.0'
implementation 'com.google.android.gms:play-services-tasks:18.2.0'
implementation 'com.google.android.play:review:2.0.1'

@tahiriabdo131
Copy link

tahiriabdo131 commented Dec 16, 2024

For me I used :
implementation 'com.google.android.play:app-update:2.1.0' instead of implementation 'com.google.android.gms:play-services-tasks:18.2.0' and it worked.

@premkumarmistry could you please explain what is the difference?

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

No branches or pull requests

5 participants