Android requires compiler compliance level 5.0 or 6.0. Found '1.4' instead. Please use Android Tools

当项目中遇到

Android requires compiler compliance level 5.0 or 6.0. Found '1.4' instead. Please use Android Tools > Fix Project Properties.

的解决办法:

  • 点击project菜单---clean按钮
  • 在自己的项目前,点右键,点Android tools,然后点FIx  project properties
  • 如果依然有问题:
    点击Project -> Properties->Java Compiler 
    确认JDK compliance被设置为1.6,并且enable specific seetings 



你可能感兴趣的:(jdk,android,properties,compiler,tools)