我的项目在2025年之前打包是成功的没有提示冲突。在另外一个项目也引用这个组件打包是成功的。
打包失败,提示
Appid: UNIF287199
错误描述: App原生语言插件/uts插件 依赖的三方库冲突
我引用的vpprotocol-2.3.04.15.aar,这个包是智能手表的SDK,是厂商提供给我们的,现在我也找不到和谁冲突的,
请老师帮忙看一看,是怎么回事。
以下的是打包的错误日志
https://app.liuyingyong.cn/build/errorLog/42755ba0-ce2e-11ef-8bb2-cddb88a35be8
FAILURE: Build failed with an exception.
- What went wrong:
Execution failed for task ':app:checkReleaseDuplicateClasses'.A failure occurred while executing com.android.build.gradle.internal.tasks.CheckDuplicatesRunnable
Duplicate class a.a found in modules lib.5plus.base-release.aar -> jetified-lib.5plus.base-release-runtime (lib.5plus.base-release.aar) and vpprotocol-2.3.04.15.aar -> jetified-vpprotocol-2.3.04.15-runtime (vpprotocol-2.3.04.15.aar)
Duplicate class a.a$a found in modules lib.5plus.base-release.aar -> jetified-lib.5plus.base-release-runtime (lib.5plus.base-release.aar) and vpprotocol-2.3.04.15.aar -> jetified-vpprotocol-2.3.04.15-runtime (vpprotocol-2.3.04.15.aar)
Duplicate class b.a found in modules lib.5plus.base-release.aar -> jetified-lib.5plus.base-release-runtime (lib.5plus.base-release.aar) and vpprotocol-2.3.04.15.aar -> jetified-vpprotocol-2.3.04.15-runtime (vpprotocol-2.3.04.15.aar)
Duplicate class b.b found in modules lib.5plus.base-release.aar -> jetified-lib.5plus.base-release-runtime (lib.5plus.base-release.aar) and vpprotocol-2.3.04.15.aar -> jetified-vpprotocol-2.3.04.15-runtime (vpprotocol-2.3.04.15.aar)
Duplicate class b.c found in modules lib.5plus.base-release.aar -> jetified-lib.5plus.base-release-runtime (lib.5plus.base-release.aar) and vpprotocol-2.3.04.15.aar -> jetified-vpprotocol-2.3.04.15-runtime (vpprotocol-2.3.04.15.aar)
Duplicate class b.d found in modules lib.5plus.base-release.aar -> jetified-lib.5plus.base-release-runtime (lib.5plus.base-release.aar) and vpprotocol-2.3.04.15.aar -> jetified-vpprotocol-2.3.04.15-runtime (vpprotocol-2.3.04.15.aar)
Duplicate class b.e found in modules lib.5plus.base-release.aar -> jetified-lib.5plus.base-release-runtime (lib.5plus.base-release.aar) and vpprotocol-2.3.04.15.aar -> jetified-vpprotocol-2.3.04.15-runtime (vpprotocol-2.3.04.15.aar)
Duplicate class b.e$a found in modules lib.5plus.base-release.aar -> jetified-lib.5plus.base-release-runtime (lib.5plus.base-release.aar) and vpprotocol-2.3.04.15.aar -> jetified-vpprotocol-2.3.04.15-runtime (vpprotocol-2.3.04.15.aar)
Duplicate class b.e$b found in modules lib.5plus.base-release.aar -> jetified-lib.5plus.base-release-runtime (lib.5plus.base-release.aar) and vpprotocol-2.3.04.15.aar -> jetified-vpprotocol-2.3.04.15-runtime (vpprotocol-2.3.04.15.aar)
Duplicate class b.e$c found in modules lib.5plus.base-release.aar -> jetified-lib.5plus.base-release-runtime (lib.5plus.base-release.aar) and vpprotocol-2.3.04.15.aar -> jetified-vpprotocol-2.3.04.15-runtime (vpprotocol-2.3.04.15.aar)
Duplicate class b.e$d found in modules lib.5plus.base-release.aar -> jetified-lib.5plus.base-release-runtime (lib.5plus.base-release.aar) and vpprotocol-2.3.04.15.aar -> jetified-vpprotocol-2.3.04.15-runtime (vpprotocol-2.3.04.15.aar)
Duplicate class b.e$e found in modules lib.5plus.base-release.aar -> jetified-lib.5plus.base-release-runtime (lib.5plus.base-release.aar) and vpprotocol-2.3.04.15.aar -> jetified-vpprotocol-2.3.04.15-runtime (vpprotocol-2.3.04.15.aar)
Duplicate class b.e$f found in modules lib.5plus.base-release.aar -> jetified-lib.5plus.base-release-runtime (lib.5plus.base-release.aar) and vpprotocol-2.3.04.15.aar -> jetified-vpprotocol-2.3.04.15-runtime (vpprotocol-2.3.04.15.aar)
Duplicate class b.f found in modules lib.5plus.base-release.aar -> jetified-lib.5plus.base-release-runtime (lib.5plus.base-release.aar) and vpprotocol-2.3.04.15.aar -> jetified-vpprotocol-2.3.04.15-runtime (vpprotocol-2.3.04.15.aar)
Duplicate class c.a found in modules lib.5plus.base-release.aar -> jetified-lib.5plus.base-release-runtime (lib.5plus.base-release.aar) and vpprotocol-2.3.04.15.aar -> jetified-vpprotocol-2.3.04.15-runtime (vpprotocol-2.3.04.15.aar)
Duplicate class c.a$a found in modules lib.5plus.base-release.aar -> jetified-lib.5plus.base-release-runtime (lib.5plus.base-release.aar) and vpprotocol-2.3.04.15.aar -> jetified-vpprotocol-2.3.04.15-runtime (vpprotocol-2.3.04.15.aar)
Duplicate class c.a$b found in modules lib.5plus.base-release.aar -> jetified-lib.5plus.base-release-runtime (lib.5plus.base-release.aar) and vpprotocol-2.3.04.15.aar -> jetified-vpprotocol-2.3.04.15-runtime (vpprotocol-2.3.04.15.aar)
Duplicate class c.b found in modules lib.5plus.base-release.aar -> jetified-lib.5plus.base-release-runtime (lib.5plus.base-release.aar) and vpprotocol-2.3.04.15.aar -> jetified-vpprotocol-2.3.04.15-runtime (vpprotocol-2.3.04.15.aar)
Duplicate class d.a found in modules lib.5plus.base-release.aar -> jetified-lib.5plus.base-release-runtime (lib.5plus.base-release.aar) and vpprotocol-2.3.04.15.aar -> jetified-vpprotocol-2.3.04.15-runtime (vpprotocol-2.3.04.15.aar)
Duplicate class d.b found in modules lib.5plus.base-release.aar -> jetified-lib.5plus.base-release-runtime (lib.5plus.base-release.aar) and vpprotocol-2.3.04.15.aar -> jetified-vpprotocol-2.3.04.15-runtime (vpprotocol-2.3.04.15.aar)
Duplicate class d.c found in modules lib.5plus.base-release.aar -> jetified-lib.5plus.base-release-runtime (lib.5plus.base-release.aar) and vpprotocol-2.3.04.15.aar -> jetified-vpprotocol-2.3.04.15-runtime (vpprotocol-2.3.04.15.aar)
Duplicate class d.d found in modules lib.5plus.base-release.aar -> jetified-lib.5plus.base-release-runtime (lib.5plus.base-release.aar) and vpprotocol-2.3.04.15.aar -> jetified-vpprotocol-2.3.04.15-runtime (vpprotocol-2.3.04.15.aar)
Duplicate class e.a found in modules lib.5plus.base-release.aar -> jetified-lib.5plus.base-release-runtime (lib.5plus.base-release.aar) and vpprotocol-2.3.04.15.aar -> jetified-vpprotocol-2.3.04.15-runtime (vpprotocol-2.3.04.15.aar)
Duplicate class e.a$a found in modules lib.5plus.base-release.aar -> jetified-lib.5plus.base-release-runtime (lib.5plus.base-release.aar) and vpprotocol-2.3.04.15.aar -> jetified-vpprotocol-2.3.04.15-runtime (vpprotocol-2.3.04.15.aar)
Duplicate class e.a$b found in modules lib.5plus.base-release.aar -> jetified-lib.5plus.base-release-runtime (lib.5plus.base-release.aar) and vpprotocol-2.3.04.15.aar -> jetified-vpprotocol-2.3.04.15-runtime (vpprotocol-2.3.04.15.aar)
Duplicate class e.a$c found in modules lib.5plus.base-release.aar -> jetified-lib.5plus.base-release-runtime (lib.5plus.base-release.aar) and vpprotocol-2.3.04.15.aar -> jetified-vpprotocol-2.3.04.15-runtime (vpprotocol-2.3.04.15.aar)
Duplicate class e.b found in modules lib.5plus.base-release.aar -> jetified-lib.5plus.base-release-runtime (lib.5plus.base-release.aar) and vpprotocol-2.3.04.15.aar -> jetified-vpprotocol-2.3.04.15-runtime (vpprotocol-2.3.04.15.aar)
Duplicate class e.b$a found in modules lib.5plus.base-release.aar -> jetified-lib.5plus.base-release-runtime (lib.5plus.base-release.aar) and vpprotocol-2.3.04.15.aar -> jetified-vpprotocol-2.3.04.15-runtime (vpprotocol-2.3.04.15.aar)
Duplicate class f.a found in modules lib.5plus.base-release.aar -> jetified-lib.5plus.base-release-runtime (lib.5plus.base-release.aar) and vpprotocol-2.3.04.15.aar -> jetified-vpprotocol-2.3.04.15-runtime (vpprotocol-2.3.04.15.aar)
Duplicate class g.a found in modules lib.5plus.base-release.aar -> jetified-lib.5plus.base-release-runtime (lib.5plus.base-release.aar) and vpprotocol-2.3.04.15.aar -> jetified-vpprotocol-2.3.04.15-runtime (vpprotocol-2.3.04.15.aar)
Duplicate class g.b found in modules lib.5plus.base-release.aar -> jetified-lib.5plus.base-release-runtime (lib.5plus.base-release.aar) and vpprotocol-2.3.04.15.aar -> jetified-vpprotocol-2.3.04.15-runtime (vpprotocol-2.3.04.15.aar)
Duplicate class h.a found in modules lib.5plus.base-release.aar -> jetified-lib.5plus.base-release-runtime (lib.5plus.base-release.aar) and vpprotocol-2.3.04.15.aar -> jetified-vpprotocol-2.3.04.15-runtime (vpprotocol-2.3.04.15.aar)
Duplicate class i.a found in modules lib.5plus.base-release.aar -> jetified-lib.5plus.base-release-runtime (lib.5plus.base-release.aar) and vpprotocol-2.3.04.15.aar -> jetified-vpprotocol-2.3.04.15-runtime (vpprotocol-2.3.04.15.aar)
Duplicate class j.a found in modules lib.5plus.base-release.aar -> jetified-lib.5plus.base-release-runtime (lib.5plus.base-release.aar) and vpprotocol-2.3.04.15.aar -> jetified-vpprotocol-2.3.04.15-runtime (vpprotocol-2.3.04.15.aar)
Duplicate class j.b found in modules lib.5plus.base-release.aar -> jetified-lib.5plus.base-release-runtime (lib.5plus.base-release.aar) and vpprotocol-2.3.04.15.aar -> jetified-vpprotocol-2.3.04.15-runtime (vpprotocol-2.3.04.15.aar)
Duplicate class k.a found in modules lib.5plus.base-release.aar -> jetified-lib.5plus.base-release-runtime (lib.5plus.base-release.aar) and vpprotocol-2.3.04.15.aar -> jetified-vpprotocol-2.3.04.15-runtime (vpprotocol-2.3.04.15.aar)
Duplicate class k.b found in modules lib.5plus.base-release.aar -> jetified-lib.5plus.base-release-runtime (lib.5plus.base-release.aar) and vpprotocol-2.3.04.15.aar -> jetified-vpprotocol-2.3.04.15-runtime (vpprotocol-2.3.04.15.aar)
Duplicate class k.c found in modules lib.5plus.base-release.aar -> jetified-lib.5plus.base-release-runtime (lib.5plus.base-release.aar) and vpprotocol-2.3.04.15.aar -> jetified-vpprotocol-2.3.04.15-runtime (vpprotocol-2.3.04.15.aar)
Duplicate class k.d found in modules lib.5plus.base-release.aar -> jetified-lib.5plus.base-release-runtime (lib.5plus.base-release.aar) and vpprotocol-2.3.04.15.aar -> jetified-vpprotocol-2.3.04.15-runtime (vpprotocol-2.3.04.15.aar)
Duplicate class k.e found in modules lib.5plus.base-release.aar -> jetified-lib.5plus.base-release-runtime (lib.5plus.base-release.aar) and vpprotocol-2.3.04.15.aar -> jetified-vpprotocol-2.3.04.15-runtime (vpprotocol-2.3.04.15.aar)
Duplicate class l.a found in modules lib.5plus.base-release.aar -> jetified-lib.5plus.base-release-runtime (lib.5plus.base-release.aar) and vpprotocol-2.3.04.15.aar -> jetified-vpprotocol-2.3.04.15-runtime (vpprotocol-2.3.04.15.aar)
3***@qq.com (作者)
老师你好,这个能在最新的版本上能优化一下吗。或者有什么办法不做冲突检测。希望能把这个需求提交上去。谢谢
2025-01-09 12:28