zoukankan      html  css  js  c++  java
  • 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
  • 相关阅读:
    3.14周末作业
    3.13作业
    文件处理
    字符编码
    基本数据类型总结
    基本数据类型--------------------集合set()
    python入门009
    作业009
    python入门008
    作业008
  • 原文地址:https://www.cnblogs.com/panxuejun/p/6102242.html
Copyright © 2011-2022 走看看