码迷,mamicode.com
首页 > 移动开发 > 详细

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

时间:2019-07-05 11:09:53      阅读:770      评论:0      收藏:0      [点我收藏+]

标签:--   warnings   org   library   ESS   方案   unit   add   net   

问题:

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.

标签:--   warnings   org   library   ESS   方案   unit   add   net   

原文地址:https://www.cnblogs.com/xianguoguo/p/11136876.html

(0)
(1)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!