Android requires compiler compliance level 5.0 or 6.0. Found '1.4' instead.解决方法

今天在eclipse里报这个错误:

Android requires compiler compliance level 5.0 or 6.0. Found ‘1.4‘ instead. Please fix project properties

1. 项目 右键 ->android tools ->Fix Project

2. 如果不可以,检查Project -> Properties->Java Compiler

确认JDK compliance被设置为1.6,并且enable specific seetings.

Android requires compiler compliance level 5.0 or 6.0. Found '1.4' instead.解决方法

时间: 2024-08-25 01:04:12

Android requires compiler compliance level 5.0 or 6.0. Found '1.4' instead.解决方法的相关文章

Android requires compiler compliance level 5.0 or 6.0. Found '1.4' instead的解决的方法

今天在eclipse里报这个错误: Android requires compiler compliance level 5.0 or 6.0. Found '1.4' instead. Please fix project properties 找了一下解决方法: 1. 项目 右键 ->android tools ->Fix Project 2. 假设不能够.检查Project -> Properties->Java Compiler 确认JDK compliance被设置为1.

Android requires compiler compliance level 5.0 or 6.0. Found '1.8' instead. Please use Android Tools>Fix project Properties.

重装操作系统之后,或者破坏了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 P

Android requires compiler compliance level 5.0 or 6.0. Found '1.7' instead. Please use Android Tool

重装操作系统后,要重新配置Android开发环境.配置成功后,添加原本项目时却出现了错误! Android requires compiler compliance level 5.0 or 6.0. Found '1.7' instead. Please use Android Tools > Fix Project Properties. 解决方法: 1.项目右键 ->android tools->Fix Project 2.如果不可以,检查Project->Propertie

Eclipse编译Android项目时出现的问题:Android requires compiler compliance level 5.0 or 6.0. Found '1.8' instead.

Consle: Android requires compiler compliance level 5.0 or 6.0. Found '1.8' instead. Please use Android Tools > Fix Project Properties. 然而,按照提示的方法,右键项目->Android Tools->Fix Project Properties时,发现并没有卵用... 我的解决方式是: 右键项目->Properties,把 JavaCompiler

Eclipse工程中Java Build Path中的JDK版本和Java Compiler Compiler compliance level的区别(转)

在这里记录一下在eclipse中比较容易搞混淆和设置错误的地方.如下图所示的功能: 最精准的解释如下: Build Path是运行时环境  Compiler是编译时环境  假设,你的代码用到泛型,Build Path环境为1.5,Compiler环境为1.4,那么会显示编译错误,无法编译:但是这样的web项目是可以在web容器中运行的,前提是你的容易支持1.5语法. Build Path里面是你的class文件的运行环境级别,非编译器需要使用到的,例如,如果用的1.4就不能使用泛型.而Compi

error at ::0 can't find referenced pointcut pointCutName 错误解决方法

Caused by: org.springframework.beans.factory.BeanCreationException: Could not autowire method: public final void org.mybatis.spring.support.SqlSessionDaoSupport.setSqlSessionTemplate(org.mybatis.spring.SqlSessionTemplate); nested exception is java.la

新安装ESXi 6.0 U2不能正确识别EVC模式的解决方法

新安装ESXi 6.0 U2不能正确识别EVC模式的解决方法 vSphere 6.0 U2发布了,新的版本改进了vSphere 6.0 U1b的一些错误,并且新版本支持VSAN 6.2.第一时间下载并将我的实验环境升级到 6.0 U2版本,期间发现一些问题. 我的实验环境是由4台PC机组成,每个PC机配置.连接如图1-1所示. 图1-1 实验环境 这4台PC机原来安装的是vCenter Server 6.0 u1b的版本,运行良好. 在分别将vCenter Server及ESXi升级到6.0 U

WampServer2.0的Apache的service无法启动的解决方法

今天在家装WampServer2.0做php开发,但是装好了Apache的service却无法启动,点击了重新启动还是不 行,于是网上求助,原来才知道我开了网页迅雷的缘故,因为像qq音乐和网页迅雷这样的文件都会默认占 用80端口的,我试着把迅雷关掉重启服务,localhost启动成功,mysql测试页面也无异常,很高兴,其实还 有其他的原因,比如你是从事.net开发的肯定有IIS,那么IIS是默认强制占用80端口的,所以你需要先停止 IIS服务,具体方法是控制面板->管理工具->服务,找到II

eclipse中的 Compiler compliance level含义

The compiler compliance setting tells the compiler to pretend it's a different version of Java. The Java 8 compiler will produce class files in the Java 8 version of the class file format, and accept Java 8 source files. JRE 6 can't load this version