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无效。求高位高手给指点一二。

 

向左转|向右转

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

 解决:

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

这是eclipse的编译环境与项目的要求不对应造成的,这个错误一般是导入别的项目才出现的。
解决:
右键项目--属性--勾选Enable project specific settings--Compiler compliance level--选择1.7--OK

相关文章:

  • 2021-07-14
  • 2021-12-19
  • 2022-12-23
  • 2022-01-14
  • 2022-12-23
  • 2021-12-24
  • 2022-12-23
猜你喜欢
  • 2021-11-05
  • 2022-12-23
  • 2021-08-03
  • 2021-07-10
  • 2022-12-23
  • 2021-08-28
相关资源
相似解决方案