Android(安卓)导入开发库transformDexArchiveWithExternalLibsDexMergerForDebug,exception:Error while merging d
16lz
2021-01-24
导入第三方架包到新的模块,出现如下编译错误
找了很多解决办法都没解决,比如;
https://stackoverflow.com/questions/55209281/nativescript-execution-failed-for-task-error-while-merging-dex-archives
https://developer.android.com/studio/build/multidex
https://www.hellojava.com/a/69381.html
等都无济于事,最终发现是新库中的类与其他模块中的库存在类名相同的问题,最终找到解决问题的办法是:WinRAR jar包解压缩,去掉重复的class,重新压缩生成新的jar包再编译。
更多相关文章
- Android(安卓)sensor hal 详解
- Android(安卓)Studio 导入项目时遇到sdk location not found错误
- Android(安卓)Studio开发之ndk报错--error: no template named
- Android添加依赖recycleview错误
- android 三目运算符 运用错误
- Android(安卓)Didn't find class "xxx某个包名xxx" on path: Dex
- Android开发——AS编译失败,Invoke-customs are only supported s
- android 应用升级模块解析
- INSTALL_FAILED_NO_MATCHING_ABIS 的解决办法