您的位置:首页 > 产品设计 > UI/UE

Android requires compiler compliance level 5.0 or 6.0. 错误

2011-09-05 21:07 411 查看
今天将ADT更新了下,导入以前的工程,eclipse报了如下错误:

1
Android requires compiler compliance level
5.0
or
6.0
. Found
'1.4'
instead. Please use Android Tools > Fix Project Properties.


按提示在工程文件上 右键 -> Android Tools -> Fix Project Properties ,无效。

手动打开Project Properties -> java Compiler -> 选上Enable project specific settings -> 再选择 Compiler Compliance Leave(选择任意一个非默认的值) -> OK

重复第2步,将Compiler Compliance Leave选为正确的值,OK。

参考:http://www.gqweb.net/%E8%A7%A3%E5%86%B3%EF%BC%9Aandroid-android-requires-compiler-compliance-level-5-0-or-6-0-found-1-4-instead-please-use-android-tools-fix-project-properties-%E9%94%99%E8%AF%AF_199.html
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐