安卓导入第三方jar包导致依赖冲突问题

报错提示为:transformDexArchiveWithExternalLibsDexMergerForDebug

解决方法为在依赖包添加处增加

configurations {
    all*.exclude group: 'com.google.code.gson'
}

可以解决依赖冲突问题

 作用是

posted @ 2023-07-11 16:50  鸿运当头汪  阅读(134)  评论(0)    收藏  举报