Android Studio 签名打包报错 解决之路

Android Studio 签名打包 报错:

混淆打包时报如下错误

Warning:Exception while processing task java.io.IOException: Can't write [projectpath\app\build\intermediates\transforms\proguard\release\jars\3\1f\main.jar] (Can't read [......\.android\build-cache\7109f82f8b94cc05c94cf29b860cd7c52c0d24d3\output\jars\classes.jar(;;;;;;**.class)] (Duplicate zip entry [classes.jar:android/support/multidex/BuildConfig.class]))

不混淆打包时,报如下错误

Error:Execution failed for task ':app:transformClassesWithJarMergingForRelease'.
> com.android.build.api.transform.TransformException: java.util.zip.ZipException: duplicate entry: android/support/multidex/BuildConfig.class

至今未解决, 求解决办法! 在线等!急

你可能感兴趣的:(学习笔记)