今天在導入工程進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.