AndroidX中Glide包冲突问题(1)

> 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.INotificationSideChannelStub 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.IResultReceiverStub 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.ResultReceiver1 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.ResultReceiverMyResultReceiver 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

相关推荐
scott.cgi10 小时前
Unity使用AndroidX获取,导航栏与虚拟键盘的高度
unity·androidx·keyboard·导航栏高度·虚拟键盘高度·判断键盘关闭·获取虚拟键盘高度
Coffeeee1 个月前
如何使用Glide和Coil加载WebP动图
android·kotlin·glide
多彩电脑1 个月前
向AIDE(安卓设备上的Android Studio)导入aar库
android·java·开发语言·androidx
星间都市山脉2 个月前
Android STS(Security Test Suite)完整介绍与测试流程
android·java·linux·windows·ubuntu·android studio·androidx
李斯维2 个月前
Jetpack 可观察数据容器 LiveData 的高级用法
android·android jetpack·androidx
我命由我123452 个月前
Android 开发问题:MlKitException: An internal error occurred during initialization.
android·java·java-ee·android jetpack·android-studio·androidx·android runtime
浪客川2 个月前
安卓沉浸式写法
kotlin·androidx
我命由我123452 个月前
Android 开发问题:项目同时引入了两个包含相同类文件的库(AndroidX 库、旧版本支持库),导致了重复类错误
android·java·java-ee·android studio·android-studio·androidx·android runtime
魏思凡2 个月前
Glide 源码学习系列
源码·glide
vensli2 个月前
AndroidX迁移总结
androidx