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


今天在導入工程進Eclipse的時候竟然出錯了,控制台輸出的是:

[2013-02-04 22:17:13 - takepicture] 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

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

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


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM