Still Outdated Android Playcore library

I saw a post from 2024 about this but it seems the library still hasn’t been updated and it’s preventing me from building a shipping version of my project. I am getting duplicate class errors which I traced back to your plug-in having an older version of com.google.android.play:core and throwing these errors:

UATHelper: Packaging (Android (ASTC)): Execution failed for task ‘:app:checkDebugDuplicateClasses’.
UATHelper: Packaging (Android (ASTC)): > A failure occurred while executing com.android.build.gradle.internal.tasks.CheckDuplicatesRunnable
UATHelper: Packaging (Android (ASTC)): > Duplicate class com.google.android.play.core.common.IntentSenderForResultStarter found in modules core-1.9.0.aar → jetified-core-1.9.0-runtime (com.google.android.play:core:1.9.0) and core-common-2.0.3.aar → jetified-core-common-2.0.3-runtime (com.google.android.play:core-common:2.0.3)
UATHelper: Packaging (Android (ASTC)): Duplicate class com.google.android.play.core.common.LocalTestingException found in modules core-1.9.0.aar → jetified-core-1.9.0-runtime (com.google.android.play:core:1.9.0) and core-common-2.0.3.aar → jetified-core-common-2.0.3-runtime (com.google.android.play:core-common:2.0.3)
UATHelper: Packaging (Android (ASTC)): Duplicate class com.google.android.play.core.common.PlayCoreDialogWrapperActivity found in modules core-1.9.0.aar → jetified-core-1.9.0-runtime (com.google.android.play:core:1.9.0) and core-common-2.0.3.aar → jetified-core-common-2.0.3-runtime (com.google.android.play:core-common:2.0.3)
UATHelper: Packaging (Android (ASTC)): Duplicate class com.google.android.play.core.listener.StateUpdatedListener found in modules core-1.9.0.aar → jetified-core-1.9.0-runtime (com.google.android.play:core:1.9.0) and core-common-2.0.3.aar → jetified-core-common-2.0.3-runtime (com.google.android.play:core-common:2.0.3)
UATHelper: Packaging (Android (ASTC)):
UATHelper: Packaging (Android (ASTC)): Go to the documentation to learn how to Fix dependency resolution errors.

In the OP they were asked to change the version to an updated one but there was no posted resolution. Will updating this code to com.google.android.play:core-common:2.0.3 break anything? Do you plan on updating your plug-in? Thanks

Hello @SetaroHouse,

Welcome to the Convai Developer Forum!

Could you please try to change the version from 1.9.0 to 2.0.3?

I did exactly this before you replied, and it worked just fine.

Do you plan on updating the plugin at any point? It’s not a huge issue obviously, but it probably should be changed at this point.

Thanks for replying!

Thanks for confirming, yes!

Hello @SetaroHouse,

With the 3.5.4 update, the Android Playcore version has been updated.

You can access from here: Releases · Conv-AI/Convai-UnrealEngine-SDK · GitHub

1 Like