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

incomplete with the new app core version #98

Open
MoatazBadawy opened this issue Jul 4, 2024 · 0 comments
Open

incomplete with the new app core version #98

MoatazBadawy opened this issue Jul 4, 2024 · 0 comments

Comments

@MoatazBadawy
Copy link

when trying to add the library with
androidx-core-play-inAppUpdateCore = { group = "com.google.android.play", name = "app-update", version.ref = "corePlayInAppUpate" }
androidx-core-play-inAppUpdateKotlin = { group = "com.google.android.play", name = "app-update-ktx", version.ref = "corePlayInAppUpate" }

I get this error
Duplicate class com.google.android.play.core.appupdate.AppUpdateInfo found in modules app-update-2.1.0.aar -> app-update-2.1.0-runtime (com.google.android.play:app-update:2.1.0) and core-1.10.0.aar -> core-1.10.0-runtime (com.google.android.play:core:1.10.0) Duplicate class com.google.android.play.core.appupdate.AppUpdateManager found in modules app-update-2.1.0.aar -> app-update-2.1.0-runtime (com.google.android.play:app-update:2.1.0) and core-1.10.0.aar -> core-1.10.0-runtime (com.google.android.play:core:1.10.0) Duplicate class com.google.android.play.core.appupdate.AppUpdateManagerFactory found in modules app-update-2.1.0.aar -> app-update-2.1.0-runtime (com.google.android.play:app-update:2.1.0) and core-1.10.0.aar -> core-1.10.0-runtime (com.google.android.play:core:1.10.0) Duplicate class com.google.android.play.core.appupdate.AppUpdateOptions found in modules app-update-2.1.0.aar -> app-update-2.1.0-runtime (com.google.android.play:app-update:2.1.0) and core-1.10.0.aar -> core-1.10.0-runtime (com.google.android.play:core:1.10.0) Duplicate class com.google.android.play.core.appupdate.AppUpdateOptions$Builder found in modules app-update-2.1.0.aar -> app-update-2.1.0-runtime (com.google.android.play:app-update:2.1.0) and core-1.10.0.aar -> core-1.10.0-runtime (com.google.android.play:core:1.10.0) Duplicate class com.google.android.play.core.appupdate.testing.FakeAppUpdateManager found in modules app-update-2.1.0.aar -> app-update-2.1.0-runtime (com.google.android.play:app-update:2.1.0) and core-1.10.0.aar -> core-1.10.0-runtime (com.google.android.play:core:1.10.0) Duplicate class com.google.android.play.core.common.IntentSenderForResultStarter found in modules core-1.10.0.aar -> core-1.10.0-runtime (com.google.android.play:core:1.10.0) and core-common-2.0.3.aar -> core-common-2.0.3-runtime (com.google.android.play:core-common:2.0.3) Duplicate class com.google.android.play.core.common.LocalTestingException found in modules core-1.10.0.aar -> core-1.10.0-runtime (com.google.android.play:core:1.10.0) and core-common-2.0.3.aar -> core-common-2.0.3-runtime (com.google.android.play:core-common:2.0.3) Duplicate class com.google.android.play.core.common.PlayCoreDialogWrapperActivity found in modules core-1.10.0.aar -> core-1.10.0-runtime (com.google.android.play:core:1.10.0) and core-common-2.0.3.aar -> core-common-2.0.3-runtime (com.google.android.play:core-common:2.0.3) Duplicate class com.google.android.play.core.install.InstallException found in modules app-update-2.1.0.aar -> app-update-2.1.0-runtime (com.google.android.play:app-update:2.1.0) and core-1.10.0.aar -> core-1.10.0-runtime (com.google.android.play:core:1.10.0) Duplicate class com.google.android.play.core.install.InstallState found in modules app-update-2.1.0.aar -> app-update-2.1.0-runtime (com.google.android.play:app-update:2.1.0) and core-1.10.0.aar -> core-1.10.0-runtime (com.google.android.play:core:1.10.0) Duplicate class com.google.android.play.core.install.InstallStateUpdatedListener found in modules app-update-2.1.0.aar -> app-update-2.1.0-runtime (com.google.android.play:app-update:2.1.0) and core-1.10.0.aar -> core-1.10.0-runtime (com.google.android.play:core:1.10.0) Duplicate class com.google.android.play.core.install.NativeInstallStateUpdateListener found in modules app-update-2.1.0.aar -> app-update-2.1.0-runtime (com.google.android.play:app-update:2.1.0) and core-1.10.0.aar -> core-1.10.0-runtime (com.google.android.play:core:1.10.0) Duplicate class com.google.android.play.core.install.model.ActivityResult found in modules app-update-2.1.0.aar -> app-update-2.1.0-runtime (com.google.android.play:app-update:2.1.0) and core-1.10.0.aar -> core-1.10.0-runtime (com.google.android.play:core:1.10.0) Duplicate class com.google.android.play.core.install.model.AppUpdateType found in modules app-update-2.1.0.aar -> app-update-2.1.0-runtime (com.google.android.play:app-update:2.1.0) and core-1.10.0.aar -> core-1.10.0-runtime (com.google.android.play:core:1.10.0) Duplicate class com.google.android.play.core.install.model.InstallErrorCode found in modules app-update-2.1.0.aar -> app-update-2.1.0-runtime (com.google.android.play:app-update:2.1.0) and core-1.10.0.aar -> core-1.10.0-runtime (com.google.android.play:core:1.10.0) Duplicate class com.google.android.play.core.install.model.InstallStatus found in modules app-update-2.1.0.aar -> app-update-2.1.0-runtime (com.google.android.play:app-update:2.1.0) and core-1.10.0.aar -> core-1.10.0-runtime (com.google.android.play:core:1.10.0) Duplicate class com.google.android.play.core.install.model.UpdateAvailability found in modules app-update-2.1.0.aar -> app-update-2.1.0-runtime (com.google.android.play:app-update:2.1.0) and core-1.10.0.aar -> core-1.10.0-runtime (com.google.android.play:core:1.10.0) Duplicate class com.google.android.play.core.ktx.AppUpdateManagerKtxKt found in modules app-update-ktx-2.1.0.aar -> app-update-ktx-2.1.0-runtime (com.google.android.play:app-update-ktx:2.1.0) and core-ktx-1.8.1.aar -> core-ktx-1.8.1-runtime (com.google.android.play:core-ktx:1.8.1) Duplicate class com.google.android.play.core.ktx.AppUpdateManagerKtxKt$requestAppUpdateInfo$1 found in modules app-update-ktx-2.1.0.aar -> app-update-ktx-2.1.0-runtime (com.google.android.play:app-update-ktx:2.1.0) and core-ktx-1.8.1.aar -> core-ktx-1.8.1-runtime (com.google.android.play:core-ktx:1.8.1) Duplicate class com.google.android.play.core.ktx.AppUpdateManagerKtxKt$requestUpdateFlow$1 found in modules app-update-ktx-2.1.0.aar -> app-update-ktx-2.1.0-runtime (com.google.android.play:app-update-ktx:2.1.0) and core-ktx-1.8.1.aar -> core-ktx-1.8.1-runtime (com.google.android.play:core-ktx:1.8.1) Duplicate class com.google.android.play.core.ktx.AppUpdateManagerKtxKt$requestUpdateFlow$1$1 found in modules app-update-ktx-2.1.0.aar -> app-update-ktx-2.1.0-runtime (com.google.android.play:app-update-ktx:2.1.0) and core-ktx-1.8.1.aar -> core-ktx-1.8.1-runtime (com.google.android.play:core-ktx:1.8.1) Duplicate class com.google.android.play.core.ktx.AppUpdateManagerKtxKt$requestUpdateFlow$1$2 found in modules app-update-ktx-2.1.0.aar -> app-update-ktx-2.1.0-runtime (com.google.android.play:app-update-ktx:2.1.0) and core-ktx-1.8.1.aar -> core-ktx-1.8.1-runtime (com.google.android.play:core-ktx:1.8.1) Duplicate class com.google.android.play.core.ktx.AppUpdateManagerKtxKt$requestUpdateFlow$1$3 found in modules app-update-ktx-2.1.0.aar -> app-update-ktx-2.1.0-runtime (com.google.android.play:app-update-ktx:2.1.0) and core-ktx-1.8.1.aar -> core-ktx-1.8.1-runtime (com.google.android.play:core-ktx:1.8.1) Duplicate class com.google.android.play.core.ktx.AppUpdateManagerKtxKt$requestUpdateFlow$1$globalUpdateListener$1 found in modules app-update-ktx-2.1.0.aar -> app-update-ktx-2.1.0-runtime (com.google.android.play:app-update-ktx:2.1.0) and core-ktx-1.8.1.aar -> core-ktx-1.8.1-runtime (com.google.android.play:core-ktx:1.8.1) Duplicate class com.google.android.play.core.ktx.AppUpdateManagerKtxKt$requestUpdateFlow$1$globalUpdateListener$2 found in modules app-update-ktx-2.1.0.aar -> app-update-ktx-2.1.0-runtime (com.google.android.play:app-update-ktx:2.1.0) and core-ktx-1.8.1.aar -> core-ktx-1.8.1-runtime (com.google.android.play:core-ktx:1.8.1) Duplicate class com.google.android.play.core.ktx.AppUpdateManagerKtxKt$startUpdateFlowForResult$1 found in modules app-update-ktx-2.1.0.aar -> app-update-ktx-2.1.0-runtime (com.google.android.play:app-update-ktx:2.1.0) and core-ktx-1.8.1.aar -> core-ktx-1.8.1-runtime (com.google.android.play:core-ktx:1.8.1) Duplicate class com.google.android.play.core.ktx.AppUpdatePassthroughListener found in modules app-update-ktx-2.1.0.aar -> app-update-ktx-2.1.0-runtime (com.google.android.play:app-update-ktx:2.1.0) and core-ktx-1.8.1.aar -> core-ktx-1.8.1-runtime (com.google.android.play:core-ktx:1.8.1) Duplicate class com.google.android.play.core.ktx.AppUpdateResult found in modules app-update-ktx-2.1.0.aar -> app-update-ktx-2.1.0-runtime (com.google.android.play:app-update-ktx:2.1.0) and core-ktx-1.8.1.aar -> core-ktx-1.8.1-runtime (com.google.android.play:core-ktx:1.8.1) Duplicate class com.google.android.play.core.ktx.AppUpdateResult$Available found in modules app-update-ktx-2.1.0.aar -> app-update-ktx-2.1.0-runtime (com.google.android.play:app-update-ktx:2.1.0) and core-ktx-1.8.1.aar -> core-ktx-1.8.1-runtime (com.google.android.play:core-ktx:1.8.1) Duplicate class com.google.android.play.core.ktx.AppUpdateResult$Downloaded found in modules app-update-ktx-2.1.0.aar -> app-update-ktx-2.1.0-runtime (com.google.android.play:app-update-ktx:2.1.0) and core-ktx-1.8.1.aar -> core-ktx-1.8.1-runtime (com.google.android.play:core-ktx:1.8.1) Duplicate class com.google.android.play.core.ktx.AppUpdateResult$InProgress found in modules app-update-ktx-2.1.0.aar -> app-update-ktx-2.1.0-runtime (com.google.android.play:app-update-ktx:2.1.0) and core-ktx-1.8.1.aar -> core-ktx-1.8.1-runtime (com.google.android.play:core-ktx:1.8.1) Duplicate class com.google.android.play.core.ktx.AppUpdateResult$NotAvailable found in modules app-update-ktx-2.1.0.aar -> app-update-ktx-2.1.0-runtime (com.google.android.play:app-update-ktx:2.1.0) and core-ktx-1.8.1.aar -> core-ktx-1.8.1-runtime (com.google.android.play:core-ktx:1.8.1) Duplicate class com.google.android.play.core.listener.StateUpdatedListener found in modules core-1.10.0.aar -> core-1.10.0-runtime (com.google.android.play:core:1.10.0) and core-common-2.0.3.aar -> core-common-2.0.3-runtime (com.google.android.play:core-common:2.0.3)

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

1 participant