Open user97116 opened 1 year ago
i solved this issue by locking to 2.0.4, looks like this issue was introduced in 2.0.5.
Same issue for me. Solution from @yevgeniaronov worked, but I'd like to use latest version
Manged to resolve: I'm also having in-app update native android feature in the app. Managed to fix this problem by replacing build.gradle dependency
'com.google.android.play:core-ktx:1.8.1'
with
'com.google.android.play:app-update-ktx:2.1.0'
Now I can use in_app_review 2.0.9 without compilation error
i solved this issue by locking to 2.0.4, looks like this issue was introduced in 2.0.5.
But then, you will get alert from google:
Update com.google.android.play
com.google.android.play:core has added this note for core:1.10.3:
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.
How did you fix this?
FAILURE: Build failed with an exception.
What went wrong: Execution failed for task ':app:checkLaunchDebugDuplicateClasses'.
Try:
Get more help at https://help.gradle.org
BUILD FAILED in 2m 12s Exception: Gradle task assembleLaunchDebug failed with exit code 1 Exited (sigterm)