FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:transformClassesWithJarMergingForRelease'.
> com.android.build.api.transform.TransformException: java.util.zip.ZipException: duplicate entry: com/tencent/a/a/a/a/a.class
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
* Get more help at https://help.gradle.org
BUILD FAILED in 20s
原因:
wx和wxPay模块的问题,重新编译,换了这个错误... 云编译里高级设置Android也改为4.1.2
解决:
将wx和wxPay模块 版本回退 即可