进公司做项目以来,一直在用android 2.2的模拟器,谷歌昨天已经发布4.0的sdk了,再不升级,赶不上开发的步伐了.
经过一系列复杂的升级操作之后,打开我的小e,满怀期待.
令人伤心的是之前的项目全线飘红,心碎至极.赶紧想解决方案.
现已解决,所以在此和大家分享交流:
Android requires compiler compliance level 5.0. Please fix project properties
解决方案一:选中自己的项目--->右击--->android tools--->fix project
解决方案二:倘若第一种方案没有成功,不要着急,试试第二种方案.
检查Project--->Properties--->Java Compiler
确定Compiler compliance level 指定的版本号被指定为1.6,并且Enable project specific seetings 被勾选.
最后单击apply,问题解决,体验新版sdk带来的快感.
2011.10.20.pm
jack.li
QQ:523072842
Email:523072842@qq.com
There are two ways of constructing a software design: One way is to make it so simple that there are obviously no deficiencies, and the other way is to make it so complicated that there are no obvious deficiencies. The first method is far more difficult.