flexbox-layout icon indicating copy to clipboard operation
flexbox-layout copied to clipboard

Update your Play Core Maven dependency to an Android 14 compatible version!

Open Paget96 opened this issue 1 year ago • 7 comments

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.

Paget96 avatar Jun 19 '24 10:06 Paget96

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'

premkumarmistry avatar Jun 20 '24 16:06 premkumarmistry

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

Paget96 avatar Jun 21 '24 16:06 Paget96

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 ?

tahiriabdo131 avatar Jul 24 '24 12:07 tahiriabdo131

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 .

amantarento avatar Aug 07 '24 04:08 amantarento

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

SaiGaneshRachamadugu avatar Sep 10 '24 05:09 SaiGaneshRachamadugu

@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'

premkumarmistry avatar Sep 21 '24 03:09 premkumarmistry

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?

tahiriabdo131 avatar Dec 16 '24 15:12 tahiriabdo131