一切福田,不離方寸,從心而覓,感無不通。

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.

http://www.cnblogs.com/sunjialiang/archive/2011/08/25/2152715.html