Domain/Android
[Android] Eclipse: Android requires .class compatibility set ...to 5.0
yhcting
2010. 6. 15. 21:01
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.