首页 > 代码库 > Android requires compiler compliance level 5.0 or 6.0. Found '1.4' instead的解决的方法

Android requires compiler compliance level 5.0 or 6.0. Found '1.4' instead的解决的方法

今天在eclipse里报这个错误:
 
Android requires compiler compliance level 5.0 or 6.0. Found ‘1.4‘ instead. Please fix project properties
 
 
 找了一下解决方法:
1. 项目 右键 ->android tools ->Fix Project
 
 
 
2. 假设不能够。检查Project -> Properties->Java Compiler
 
    确认JDK compliance被设置为1.6,而且enable specific seetings.

Android requires compiler compliance level 5.0 or 6.0. Found '1.4' instead的解决的方法