operator is not allowed for source level below 1.7
2016-03-29 16:11
537 查看
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
解决:
'<>'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
解决:
这是eclipse的编译环境与项目的要求不对应造成的,这个错误一般是导入别的项目才出现的。
右键项目--属性--勾选Enable project specific settings--Compiler compliance level--选择1.7--OK
相关文章推荐
- # linux读书笔记(3章)
- Linux 防火墙 iptables基本操作
- interactivePopGestureRecognizer 完美使用
- tomcat 部署项目,不加项目名 直接访问
- 【OpenCV】OpenCV输入处理(鼠标事件_键盘事件_滑块事件)
- 搭建nginx反向代理用做内网域名转发
- shell常用命令总结
- Android 通过adb shell命令查看内存,CPU,启动时间,电量等信息
- linux lsof 用法简介
- 使用flask开发网站后端
- nginx配置python的cgi
- OpenStack入门 之 初步了解
- Linux 性能测试工具
- linux学习基础之1.0---shell的常见指令
- web网站的压力测试
- Jenkins+SVN+Maven+Shell 实现项目一键发布
- Linux系统下取IP地址的几种方法
- netlink---Linux下基于socket的内核和上层通信机制 (转)
- liunx下svn自动更新
- openwrt下关于snmpd的一些信息