eclipse的设置问题,它默认把这些受访问限制的API设成了ERROR,你只要把
Windows-Preferences-Java-Complicer-Errors/Warnings
里面的Deprecated and restricted API中的Forbidden references(access rules)选为Warning就可以编译通过了。
转载于:https://my.oschina.net/zhaoxiaohuan/blog/483085
解决Eclipse中因默认设置导致的受访问限制API错误问题,通过调整编译器警告级别,将Forbidden references设为Warning,使项目顺利编译。
eclipse的设置问题,它默认把这些受访问限制的API设成了ERROR,你只要把
Windows-Preferences-Java-Complicer-Errors/Warnings
里面的Deprecated and restricted API中的Forbidden references(access rules)选为Warning就可以编译通过了。
转载于:https://my.oschina.net/zhaoxiaohuan/blog/483085
1万+

被折叠的 条评论
为什么被折叠?