Andorid之打包出现Proguard returned with erro code 1.See console解决办法

1、错误

我们进行签名操作的时候,提示下面错误

Proguard returned with erro code 1.See console

然后在console里面提示这个

you should check if you need to specify additional program jars

2、原因

找不到引用包导致

2、解决办法

我们可以在proguard-project.txt 或者 proguard-project.cfg proguard-project.conf里面加上下面的代码

-ignorewarnings
-libraryjars libs/****.jar
-libraryjars libs/****1.jar
-libraryjars libs/****2.jar
(0)

相关推荐