20、Warning: there were * unresolved references to classes or interfaces.
来源:互联网 发布:淘宝刷两单会坐牢吗 编辑:程序博客网 时间:2024/06/05 04:16
1、在发布Rease版本时遇到这样的错误提示:
Warning: there were 4 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)Exception while processing task java.io.IOException: Please correct the above warnings first.
2、查找了 很久 最终找到了 解决方法
如何解决这个问题也很简单,编译错误提示已经给除了参考地址
http://proguard.sourceforge.net/manual/troubleshooting.html#unresolvedclass
我在proguard-rules.pro这个文件了加了一行
-ignorewarnings
3、参考出处:
https://github.com/jiangzhouq/TechnologyRecord/issues/2
阅读全文
0 0
- 20、Warning: there were * unresolved references to classes or interfaces.
- Domain Classes or Interfaces ?
- *** WARNING L2: REFERENCE MADE TO UNRESOLVED EXTERNAL
- Customize User Interfaces and Pass User Input to Installer Classes
- Interfaces vs Abstract Classes...
- Interfaces & Inner Classes
- Abstract Classes Vs Interfaces
- Failed to instantiate one or more classes
- More Effective C# Item 7. Do Not Create Generic Specialization on Base Classes or Interfaces
- 第八章: Interfaces & Inner Classes
- [Java] Abstract classes vs. interfaces
- Effective Java 18:接口优于抽象类 Prefer interfaces to abstract classes
- soon or later,There is a decision to make.
- warning LNK4089: all references to "USER32.dll" discarded by /OPT:REF
- warning LNK4089: all references to "USER32.dll" discarded by /OPT:REF
- warning LNK4089: all references to "SHELL32.dll" discarded by /OPT:REF
- 关于VC++ Release编译之后warning LNK4089: all references to "SHELL32.dll" discarded by /OPT:REF
- LINK : warning LNK4089: all references to “SHELL32.dll” discarded by /OPT:REF
- Objective-C Blocks Under the Hood
- linux 常用操作符号
- python 单行注释 多行注释 批量注释 中文注释
- dwz选择带回功能dialog不能翻页解决方法
- python -- 函数总结
- 20、Warning: there were * unresolved references to classes or interfaces.
- Spring源码分析2 — 容器启动流程
- 添加到父类视图后,subview的高度莫名发生变化
- JEESZ RestFul服务介绍
- sass常用函数总结
- Bitmap与Uri互转、Activity传递Bitmap、分享Bitmap
- ECB模式详解
- 浏览器插件开发-纯属兴趣
- [LeetCode] 564. Find the Closest Palindrome 深入浅出讲解和代码示例