Android requires compiler compliance level 5.0 or 6.0. Found '1.8' instead. Please use Android Tools>Fix project Properties.
2015-06-26 16:00
633 查看
重装操作系统之后,或者破坏了Android的开发环境之后,需要重新配置好Android的开发环境。但是配置好后,导入原有的项目时,报错:
Android requires compiler compliance level 5.0 or 6.0. Found '1.8' instead. Please use Android Tools>Fix project Properties.
解决方法:
1.按照报错的提示,项目右击-->Android Tools-->Fix project Properties.
2.如果还不行,检查Project->Properties->Java Compiler确认JDK compliance被设置为1.6, 并且enable specific seetings,经过这两步问题基本解决。
Android requires compiler compliance level 5.0 or 6.0. Found '1.8' instead. Please use Android Tools>Fix project Properties.
解决方法:
1.按照报错的提示,项目右击-->Android Tools-->Fix project Properties.
2.如果还不行,检查Project->Properties->Java Compiler确认JDK compliance被设置为1.6, 并且enable specific seetings,经过这两步问题基本解决。
相关文章推荐
- druid简介
- jquer ajax
- Gradle finished with non-zero exit value 1 ic_launcher.png: Original is here. The version qualifie
- setuid和setgid
- UIPickerView的方法和属性
- 50个UI设计资源网站
- CSS3 Media Queries 特性的妙用
- 【Android笔记】org.json.JSONException: No value for
- NGUI减少drawcall 的总结
- iOS三种视图切换 (UITabBarController,UINavigationController,模态窗口)
- 经常遇到build.xml,是干什么用的?
- UITextFiedl 左侧设置小图标 leftview
- Gradle chapter7 Gradle chapter7.Java Quickstart
- iOS 8 Auto Layout界面自动布局系列2-使用Xcode的Interface Builder添加布局约束
- 为何要用request.getContextPath()
- UIScrollView
- Ios 该图显示其出现的相关问题定义UITableView dataSource must return a cell from tableView:cellForRowAtIndexPath:'
- UINavigationController.navigationBar使用注意事项
- LA 4287 Proving Equivalences(tarjan+强连通缩点)
- iOS开发笔记22--使用XIB自定义一个UIView