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

已经依赖了com.google.android.play.core的项目,报Duplicate class #76

Open
ZhangYeSong opened this issue Jan 26, 2022 · 0 comments

Comments

@ZhangYeSong
Copy link

ZhangYeSong commented Jan 26, 2022

  • What went wrong:

A failure occurred while executing com.android.build.gradle.internal.tasks.CheckDuplicatesRunnable
Duplicate class com.google.android.play.core.listener.StateUpdatedListener found in modules jetified-core-1.10.2-runtime (com.google.android.play:core:1.10.2) and jetified-playcorelibrary-1.4.1-hotfix01-runtime (com.iqiyi.android.qigsaw:playcorelibrary:1.4.1-hotfix01)
Duplicate class com.google.android.play.core.splitcompat.SplitCompat found in modules jetified-core-1.10.2-runtime (com.google.android.play:core:1.10.2) and jetified-playcorelibrary-1.4.1-hotfix01-runtime (com.iqiyi.android.qigsaw:playcorelibrary:1.4.1-hotfix01)
Duplicate class com.google.android.play.core.splitcompat.SplitCompatApplication found in modules jetified-core-1.10.2-runtime (com.google.android.play:core:1.10.2) and jetified-playcorelibrary-1.4.1-hotfix01-runtime (com.iqiyi.android.qigsaw:playcorelibrary:1.4.1-hotfix01)
Duplicate class com.google.android.play.core.splitinstall.SplitInstallException found in modules jetified-core-1.10.2-runtime (com.google.android.play:core:1.10.2) and jetified-playcorelibrary-1.4.1-hotfix01-runtime (com.iqiyi.android.qigsaw:playcorelibrary:1.4.1-hotfix01)
Duplicate class com.google.android.play.core.splitinstall.SplitInstallHelper found in modules jetified-core-1.10.2-runtime (com.google.android.play:core:1.10.2) and jetified-playcorelibrary-1.4.1-hotfix01-runtime (com.iqiyi.android.qigsaw:playcorelibrary:1.4.1-hotfix01)
Duplicate class com.google.android.play.core.splitinstall.SplitInstallManager found in modules jetified-core-1.10.2-runtime (com.google.android.play:core:1.10.2) and jetified-playcorelibrary-1.4.1-hotfix01-runtime (com.iqiyi.android.qigsaw:playcorelibrary:1.4.1-hotfix01)
Duplicate class com.google.android.play.core.splitinstall.SplitInstallManagerFactory found in modules jetified-core-1.10.2-runtime (com.google.android.play:core:1.10.2) and jetified-playcorelibrary-1.4.1-hotfix01-runtime (com.iqiyi.android.qigsaw:playcorelibrary:1.4.1-hotfix01)
Duplicate class com.google.android.play.core.splitinstall.SplitInstallRequest found in modules jetified-core-1.10.2-runtime (com.google.android.play:core:1.10.2) and jetified-playcorelibrary-1.4.1-hotfix01-runtime (com.iqiyi.android.qigsaw:playcorelibrary:1.4.1-hotfix01)
Duplicate class com.google.android.play.core.splitinstall.SplitInstallRequest$Builder found in modules jetified-core-1.10.2-runtime (com.google.android.play:core:1.10.2) and jetified-playcorelibrary-1.4.1-hotfix01-runtime (com.iqiyi.android.qigsaw:playcorelibrary:1.4.1-hotfix01)
Duplicate class com.google.android.play.core.splitinstall.SplitInstallSessionState found in modules jetified-core-1.10.2-runtime (com.google.android.play:core:1.10.2) and jetified-playcorelibrary-1.4.1-hotfix01-runtime (com.iqiyi.android.qigsaw:playcorelibrary:1.4.1-hotfix01)
Duplicate class com.google.android.play.core.splitinstall.SplitInstallStateUpdatedListener found in modules jetified-core-1.10.2-runtime (com.google.android.play:core:1.10.2) and jetified-playcorelibrary-1.4.1-hotfix01-runtime (com.iqiyi.android.qigsaw:playcorelibrary:1.4.1-hotfix01)
Duplicate class com.google.android.play.core.splitinstall.model.SplitInstallErrorCode found in modules jetified-core-1.10.2-runtime (com.google.android.play:core:1.10.2) and jetified-playcorelibrary-1.4.1-hotfix01-runtime (com.iqiyi.android.qigsaw:playcorelibrary:1.4.1-hotfix01)
Duplicate class com.google.android.play.core.splitinstall.model.SplitInstallSessionStatus found in modules jetified-core-1.10.2-runtime (com.google.android.play:core:1.10.2) and jetified-playcorelibrary-1.4.1-hotfix01-runtime (com.iqiyi.android.qigsaw:playcorelibrary:1.4.1-hotfix01)
Duplicate class com.google.android.play.core.tasks.OnCompleteListener found in modules jetified-core-1.10.2-runtime (com.google.android.play:core:1.10.2) and jetified-playcorelibrary-1.4.1-hotfix01-runtime (com.iqiyi.android.qigsaw:playcorelibrary:1.4.1-hotfix01)
Duplicate class com.google.android.play.core.tasks.OnFailureListener found in modules jetified-core-1.10.2-runtime (com.google.android.play:core:1.10.2) and jetified-playcorelibrary-1.4.1-hotfix01-runtime (com.iqiyi.android.qigsaw:playcorelibrary:1.4.1-hotfix01)
Duplicate class com.google.android.play.core.tasks.OnSuccessListener found in modules jetified-core-1.10.2-runtime (com.google.android.play:core:1.10.2) and jetified-playcorelibrary-1.4.1-hotfix01-runtime (com.iqiyi.android.qigsaw:playcorelibrary:1.4.1-hotfix01)
Duplicate class com.google.android.play.core.tasks.RuntimeExecutionException found in modules jetified-core-1.10.2-runtime (com.google.android.play:core:1.10.2) and jetified-playcorelibrary-1.4.1-hotfix01-runtime (com.iqiyi.android.qigsaw:playcorelibrary:1.4.1-hotfix01)
Duplicate class com.google.android.play.core.tasks.Task found in modules jetified-core-1.10.2-runtime (com.google.android.play:core:1.10.2) and jetified-playcorelibrary-1.4.1-hotfix01-runtime (com.iqiyi.android.qigsaw:playcorelibrary:1.4.1-hotfix01)
Duplicate class com.google.android.play.core.tasks.TaskExecutors found in modules jetified-core-1.10.2-runtime (com.google.android.play:core:1.10.2) and jetified-playcorelibrary-1.4.1-hotfix01-runtime (com.iqiyi.android.qigsaw:playcorelibrary:1.4.1-hotfix01)
Duplicate class com.google.android.play.core.tasks.Tasks found in modules jetified-core-1.10.2-runtime (com.google.android.play:core:1.10.2) and jetified-playcorelibrary-1.4.1-hotfix01-runtime (com.iqiyi.android.qigsaw:playcorelibrary:1.4.1-hotfix01)

 Go to the documentation to learn how to <a href="d.android.com/r/tools/classpath-sync-errors">Fix dependency resolution errors</a>.
  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

项目有依赖com.google.android.play:core:1.10.2,这种情况如何适配?

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