[Android]记录一次处理app:transformDexArchiveWithExternalLibsDexMergerForDebug错误

 第一种情况:

Android 目录结构如下:

app中build.gradle包含:

implementation 'com.squareup.okhttp3:okhttp:3.6.0'
    implementation 'com.squareup.okio:okio:1.12.0'
    compile ('com.google.code.gson:gson:2.2.4')

//    compile('com.squareup.retrofit2:converter-gson:2.2.4')


    implementation project(path: ':uikit')
    implementation project(':jrmfneteaselib')
    implementation project(':avchatkit')

jrmfneteaselib中包括(里面的jar包是通过lib的方式添加进去的啊 噗嗤.):

这样就导致一种通过gradle一种通过jar就会出现上述错误.

第二种情况:

https://www.jianshu.com/p/14966656f97a

原文地址:https://www.cnblogs.com/xzjxylophone/p/8443858.html