20、Warning: there were * unresolved references to classes or interfaces.
2017-07-13 15:17
465 查看
1、在发布Rease版本时遇到这样的错误提示:
2、查找了 很久 最终找到了 解决方法
如何解决这个问题也很简单,编译错误提示已经给除了参考地址
http://proguard.sourceforge.net/manual/troubleshooting.html#unresolvedclass
我在proguard-rules.pro这个文件了加了一行
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
相关文章推荐
- PowerCLI: “WARNING: There were one or more problems with the server certificate”
- PowerCLI: “WARNING: There were one or more problems with the server certificate”
- *** WARNING L2: REFERENCE MADE TO UNRESOLVED EXTERNAL
- keil编译时出现*** WARNING L2: REFERENCE MADE TO UNRESOLVED EXTERNAL
- postdrop: warning: unable to look up public/pickup: No such file or directory
- 1092. To Buy or Not to Buy (20)
- Effective C++:条款20:宁以 pass-by-reference-to-const替换pass-by-value
- [转]LINK : warning LNK4089: all references to "xxx.dll" discarded by /OPT:REF
- postfix过滤器名称不一致导致postfix/qmg:warning: connect to transport xxxx: No such file or directory
- 《Effect C++》学习------条款20 :宁以pass-by-reference-to-const替换pass-by-value
- undefined reference to错误 和ORA-06553: PLS-306: wrong number or types of arguments in call to "OGC_X"
- Switching From Windows to Nix or a Newbie to Linux – 20 Useful Commands for Linux Newbies
- Linux: How to delete a disk or LUN reference from /dev
- Spring3.x错误---- Cannot proxy target class because CGLIB2 is not available. Add CGLIB to the class path or specify proxy interfaces.
- There were no servers available to complete the specified operation
- SharePoint 2013 Error - TypeError: Unable to get property 'replace' of undefined or null reference
- Item 20: Prefer pass-by-reference-to-const to pass-by-value(Effective C++)
- [effectiv c++]条款20:pass-by-reference-to-const 与 pass-by-value(解决slicing问题)
- WARNING: You will need re2c 0.13.4 or later if you want to regenerate PHP parsers
- mybatis报错:Expected one result (or null) to be returned by selectOne(), but found: 20