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

相关推荐
多彩电脑2 天前
向AIDE(安卓设备上的Android Studio)导入aar库
android·java·开发语言·androidx
星间都市山脉5 天前
Android STS(Security Test Suite)完整介绍与测试流程
android·java·linux·windows·ubuntu·android studio·androidx
李斯维6 天前
Jetpack 可观察数据容器 LiveData 的高级用法
android·android jetpack·androidx
我命由我1234515 天前
Android 开发问题:MlKitException: An internal error occurred during initialization.
android·java·java-ee·android jetpack·android-studio·androidx·android runtime
浪客川15 天前
安卓沉浸式写法
kotlin·androidx
我命由我1234518 天前
Android 开发问题:项目同时引入了两个包含相同类文件的库(AndroidX 库、旧版本支持库),导致了重复类错误
android·java·java-ee·android studio·android-studio·androidx·android runtime
魏思凡18 天前
Glide 源码学习系列
源码·glide
vensli18 天前
AndroidX迁移总结
androidx
帅次2 个月前
链路到端上:HTTPS 之后安全题还在考什么
android·okhttp·glide·zygote·retrofit