Android requires compiler compliance level 5.0 or 6.0. Found '1.4' 問題解決

 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。
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章