android studio 代码混淆打包错误 The same input jar is specified twice

android studio 代码混淆打包错误 The same input jar is specified twice

使用android studio 以来,还没有使用过代码混淆打包,正好赶上项目马上要上线,所以使用代码混淆打包 发现android studio 跟eclipse还是有不同地方,为了方便 所以把之前eclipse中的proguard的文件直接copy过来  然后修改了一下进行打包 结果出现The same input jar is specified twice这个错误 然后也是非常困惑 ,所以只能在网上找答案了 其实主要原因就是我们在build.gradle文件中已经配置过jar文件了

所以在proguard文件中 以下内容可以删除或注释掉,我这里选择注释掉

然后再次进行打包 不会在出现The same input jar is specified twice这个问题了

你可能感兴趣的:(android studio 代码混淆打包错误 The same input jar is specified twice)