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

今天在导入工程进Eclipse的时候竟然出错了,控制台输出的是:

[2013-02-04 22:17:13 - takepicture] Android requires compiler compliance level 5.0 or 6.0. Found '1.4' instead. Please use Android Tools > Fix Project Properties.

解决办法:

  

1. 项目 右键 ->android tools ->Fix Project

2. 如果不可以,检查Project -> Properties->Java Compiler 

    确认JDK compliance被设置为1.6,并且enable specific seetings.

posted @ 2013-02-04 22:25  My_苦行僧  阅读(6019)  评论(0编辑  收藏  举报