AndroidX中Glide包冲突问题(1)

发布于:2024-06-20 ⋅ 阅读:(117) ⋅ 点赞:(0)

> A failure occurred while executing com.android.build.gradle.internal.tasks.CheckDuplicatesRunnable

> Duplicate class android.support.v4.app.INotificationSideChannel found in modules core-1.3.0-runtime (androidx.core:core:1.3.0) and support-compat-27.1.1-runtime (com.android.support:support-compat:27.1.1)

Duplicate class android.support.v4.app.INotificationSideChannel$Stub found in modules core-1.3.0-runtime (androidx.core:core:1.3.0) and support-compat-27.1.1-runtime (com.android.support:support-compat:27.1.1)

Duplicate class android.support.v4.app.INotificationSideChannel S t u b Stub StubProxy found in modules core-1.3.0-runtime (androidx.core:core:1.3.0) and support-compat-27.1.1-runtime (com.android.support:support-compat:27.1.1)

Duplicate class android.support.v4.os.IResultReceiver found in modules core-1.3.0-runtime (androidx.core:core:1.3.0) and support-compat-27.1.1-runtime (com.android.support:support-compat:27.1.1)

Duplicate class android.support.v4.os.IResultReceiver$Stub found in modules core-1.3.0-runtime (androidx.core:core:1.3.0) and support-compat-27.1.1-runtime (com.android.support:support-compat:27.1.1)

Duplicate class android.support.v4.os.IResultReceiver S t u b Stub StubProxy found in modules core-1.3.0-runtime (androidx.core:core:1.3.0) and support-compat-27.1.1-runtime (com.android.support:support-compat:27.1.1)

Duplicate class android.support.v4.os.ResultReceiver found in modules core-1.3.0-runtime (androidx.core:core:1.3.0) and support-compat-27.1.1-runtime (com.android.support:support-compat:27.1.1)

Duplicate class android.support.v4.os.ResultReceiver$1 found in modules core-1.3.0-runtime (androidx.core:core:1.3.0) and support-compat-27.1.1-runtime (com.android.support:support-compat:27.1.1)

Duplicate class android.support.v4.os.ResultReceiver$MyResultReceiver found in modules core-1.3.0-runtime (androidx.core:core:1.3.0) and support-compat-27.1.1-runtime (com.android.support:support-compat:27.1.1)

Duplicate class android.support.v4.os.ResultReceiver$MyRunnable found in modules core-1.3.0-runtime (androidx.core:core:1.3.0) and supp
ort-compat-27.1.1-runtime (com.android.support:support-compat:27.1.1)

* 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.

根据日志看是引用冲突问题,用了排除依赖的方法依然不行。
进入Glide的Github地址:
https://codechina.csdn.net/mirrors/bumptech/glide?utm_source=csdn_github_accelerator


网站公告

今日签到

点亮在社区的每一天
去签到