requires compiler compliance level 5.0 or 6.0. Found '1.7' instead.

自己到别的电脑上做的项目导入到自己电脑中时报错,提示
Android requires compiler compliance level 5.0 or 6.0. Found '1.7' instead. Please use Android Tools > Fix Project Properties.

解决方案一:
先下载Android1.6(API4)
然后项目右键 ->android tools->Fix Project

解决方案二;
检查Project->Properties->Java Compiler
确认JDK compliance被设置为1.6,并且enable specific seetings

你可能感兴趣的:(requires compiler compliance level 5.0 or 6.0. Found '1.7' instead.)