导入第三方架包到新的模块,出现如下编译错误

找了很多解决办法都没解决,比如;

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包再编译。

更多相关文章

  1. Android(安卓)sensor hal 详解
  2. Android(安卓)Studio 导入项目时遇到sdk location not found错误
  3. Android(安卓)Studio开发之ndk报错--error: no template named
  4. Android添加依赖recycleview错误
  5. android 三目运算符 运用错误
  6. Android(安卓)Didn't find class "xxx某个包名xxx" on path: Dex
  7. Android开发——AS编译失败,Invoke-customs are only supported s
  8. android 应用升级模块解析
  9. INSTALL_FAILED_NO_MATCHING_ABIS 的解决办法

随机推荐

  1. Android中的okHttp
  2. 【Android】如何设置应用强制横屏或竖屏
  3. Android知识储备
  4. Android(安卓)8.0 Activity启动崩溃异常:"
  5. 在Visual Studio 2010/2012/2013/2015上
  6. Android(安卓)新手常见的10个误区(上)
  7. Android下uptime获取系统启动和运行时间
  8. Android流量统计
  9. android中context
  10. 创建SqliteDatabase