帖子
帖子
用户
博客
课程
显示全部楼层
9
帖子
0
勋章
99
Y币

[插件开发] 开发的自定义插件 上传后编译自定义loader 失败 ,求教啊

[复制链接]
发表于 2023-9-5 15:20:18
2023-09-05 02:25:58
/data/engine/android/projects/new_8/AStudioProject/app/libs/apiEngine v3.0.0.jar: D8: Type compile.Properties is defined multiple times: /data/engine/android/projects/new_8/AStudioProject/app/libs/apiEngine v3.0.0.jar:compile/Properties.class, /data/engine/android/projects/new_8/AStudioProject/app/build/intermediates/javac/release/classes/compile/Properties.class

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:multiDexListRelease'.
> A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
   > Error while merging dex archives:
     Learn how to resolve the issue at https://developer**.**/studio/bu ... #duplicate_classes.
     Type compile.Properties is defined multiple times: /data/engine/android/projects/new_8/AStudioProject/app/libs/apiEngine v3.0.0.jar:compile/Properties.class, /data/engine/android/projects/new_8/AStudioProject/app/build/intermediates/javac/release/classes/compile/Properties.class

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

* Get more help at https://help**.**

BUILD FAILED in 47s


380
帖子
4
勋章
6
Y币
您好,看一下模块开发包中 apiEngine v3.0.0.jar  是3.0 版本吗
9
帖子
0
勋章
99
Y币
技术咨询-F · 2023-9-6 16:03您好,看一下模块开发包中 apiEngine v3.0.0.jar  是3.0 版本吗

是的啊,没问题3.0版本特意看了,android打包aar都能成功,但是编译却失败
您需要登录后才可以回帖 登录

本版积分规则