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

来源:互联网 发布:北津学院教务网络 编辑:程序博客网 时间:2024/05/20 18:17

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 0
原创粉丝点击