导入新的一个android项目抱错,详情见下面:
Android requires compiler compliance level 5.0 or 6.0. Found'1.4' instead. Please use Android Tools > FixProject Properties.
解决方法:
- Project Properties -> java Compiler-> Enable project specific settings-> 再选择 Compiler Compliance Leave(选择任意一个值)-> OK
- 重复第1步操作,将Compiler Compliance Leave选为正确的值-〉OK
本文介绍了一种常见的Android项目导入后的编译错误,并提供了解决步骤。具体来说,当遇到编译器合规级别不匹配的问题时,可以通过调整项目的属性设置来解决。文章详细介绍了如何通过项目属性设置来更改Java编译器的合规级别。
6196





