eclipse bug之'<>'operator is not allowed for source level below 1.7

eclipse中导入工程,报这个错'<>'operator is not allowed for source level below 1.7,把jdk改成1.7后,提示Android requires compiler compliance level 5.0 or 6.0. Found '1.7' instead. Please use Android Tools > Fix Project Properties.,执行fix无效。求高位高手给指点一二。

向左转|向右转

 解决:

报错:'<>' operator is not allowed for source level below 1.7

这是eclipse的编译环境与项目的要求不对应造成的,这个错误一般是导入别的项目才出现的。
解决:
右键项目--属性--勾选Enable project specific settings--Compiler compliance level--选择1.7--OK
原文地址:https://www.cnblogs.com/panxuejun/p/6102242.html