androidstudio出包问题--Warning: there were 1 unresolved references to classes or interfaces.

Posted xianguoguo

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了androidstudio出包问题--Warning: there were 1 unresolved references to classes or interfaces.相关的知识,希望对你有一定的参考价值。

问题:

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.**

以上是关于androidstudio出包问题--Warning: there were 1 unresolved references to classes or interfaces.的主要内容,如果未能解决你的问题,请参考以下文章

unity之Jenkins自动化出包shell脚本

quick cocos 怎么在安卓出包

求教:汇编源码时出错:warnin.missing data;zero assumed.0

Unity游戏开发接入UWA_GOT的iOS版SDK以后无法正常出包

Android中微信支付申请集成出包等整个过程

Android中微信支付申请集成出包等整个过程