android requires compiler compliance level 5.0 or 6.0. Found '1.7' instead. Please use Android Tool

今天在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.

你可能感兴趣的:(eclipse,jdk)