Android requires compiler compliance level 5.0 or 6.0. Found '1.4' 问题解决

来源:互联网 发布:金融数据库 编辑:程序博客网 时间:2024/06/06 06:53

 Android requires compiler compliance level 5.0 or 6.0. Found '1.4' instead. Please use Android Tools > Fix Project Properties. 问题解决如下:

  1. 按提示在工程文件上 右键 -> Android Tools -> Fix Project Properties ,无效。
  2. 手动打开Project(当前的项目) -->Properties -> java Compiler -> 选上Enable project specific settings -> 再选择 Compiler Compliance Leave(选择任意一个非默认的值) -> OK
  3. 重复第2步,将Compiler Compliance Leave选为正确的值,OK。
原创粉丝点击