Error message : Android requires .class compatibility set to 5.0. Please fix project properties.
Solution
- go to "project -> property -> Java Compiler ->"
- Set "Compiler compliance level" to 1.5. And push "Apply" button.
Now it is resolved.
Interesting thing : Once this issue is resolved by changing "Compiler compliance", even if it we restore this value back to 1.6, this error isn't reproduced. I don't have any idea about the reason.
'Domain > Android' 카테고리의 다른 글
[Android] NDK issues (found) (0) | 2011.02.15 |
---|---|
[Android] Classify unexpected cases (0) | 2010.10.29 |
[Android-Eclair] Miscellaneous tips. (0) | 2010.04.09 |
[Android-Eclair] Using exact size of Views (0) | 2009.12.14 |
[Android-Ecliar][Tips] build Android.. (0) | 2009.12.03 |