问题:存在unresolved的类或接口导致打包失败
Warning: there were 1 unresolved references to classes or interfaces.
You may need to add missing library jars or update their versions.
If your code works fine without the missing classes, you can suppress
the warnings with '-dontwarn' options.
(http://proguard.sourceforge.net/manual/troubleshooting.html#unresolvedclass)
解决方案:
build日志上找警告Warning
Warning: com.tapjoy.TJAdUnit: can't find referenced class javax.annotation.Nullable
在proguard-rules.pro里面添加
-dontwarn com.tapjoy.**
因为我的项目找到的是tapjoy的问题:,所以我添加的是com.tapjoy.**