wechat-sdk-android-with-mta\5.1.4 tencent/mm/opensdk/channel/a/a$a.class

晋涛
2023-12-01

用android studio打包时错误,,原来是引用友盟时多导入一个微信相关的包wechat-sdk-android-with-mta-1.1.6 

我本地app  build用的是

com.tencent.mm.opensdk:wechat-sdk-android-with-mta:+

所以就冲突报错了,,解决方法就是删了友盟那个微信多余的包就可以了

报错信息:

Warning:Exception while processing task java.io.IOException: Can't write [H:\jxb8\wealth\trunk\app\build\intermediates\transforms\proguard\release\jars\3\1f\main.jar] (Can't read [C:\Users\yhl\.gradle\caches\modules-2\files-2.1\com.tencent.mm.opensdk\wechat-sdk-android-with-mta\5.1.4\a2166720f73c470341d9cf4b57edd3bbd42f8f8c\wechat-sdk-android-with-mta-5.1.4.jar(;;;;;;**.class)] (Duplicate zip entry [wechat-sdk-android-with-mta-5.1.4.jar:com/tencent/mm/opensdk/channel/a/a$a.class]))


 类似资料: