Update your Play Core Maven dependency to an Android 14 compatible version!
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.
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'
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
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 ?
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 .
@Paget96, @premkumarmistry still getting the error even after updating
@Paget96 @SaiGaneshRachamadugu @amantarento @tahiriabdo131 Please update the dependencies and SDK versions as follows:
- Update
targetSdkVersionto 34. - Set
minSdkVersionto either 21 or 26 (whichever is appropriate for the project). - 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'
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?