android编译错误,Android requires compiler compliance level 5.0 or 6.0.Found ''1.7”

 

升级了JDK之后,打开adt,出现下面的错误

 

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

 

解决办法:

Project Properties -> java Compiler -> Enable project specific settings -> 再选择 Compiler Compliance Leave(选择任意一个值) -> OK 
重复第1步操作,将Compiler Compliance Leave选为正确的值-〉OK 

 

然后重新编译,问题解决

 

你可能感兴趣的:(compiler)