解决:Android(安卓)Android(安卓)requires compiler compliance level 5.0 or 6.0. 错误
16lz
2021-12-04
今天将ADT更新到最新的12.0版本,重新导入以前的工程,没想到竟然报如下错误:
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。
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。
更多相关文章
- ANDROID源代码结构
- android 高德地图API 之 java.lang.UnsatisfiedLinkError: Could
- Android工程下的文件介绍
- android 如何依赖android:sharedUserId更换皮肤Skin
- [Android(安卓)中级]Voip之CSipSimple类库的编绎
- 将Android项目导入到Eclipse开发环境
- [android开发笔记]Unable to resolve target 'android-5'
- android 图片浏览功能 图片放大缩小 使用 photoview 双击或双指
- 软件工程 大四团队 android j2ee 求实习 求收留