轉載: Android requires compiler compliance level 5.0 or 6.0. Found '1.4' instead的解決辦法

l_serein發表於2012-06-26

今天在eclipse裡報這個錯誤:

Android requires compiler compliance level 5.0 or 6.0. Found '1.4' instead. Please fix project properties


1. 專案 右鍵 ->android tools ->Fix Project

2. 如果不可以,檢查Project -> Properties->Java Compiler

 
確認JDK compliance被設定為1.6,並且enable specific seetings.

相關文章