Android的需要编译器遵从性级别5.0或6.0。找到“1.4” [英] Android requires compiler compliance level 5.0 or 6.0. Found '1.4'

查看:350
本文介绍了Android的需要编译器遵从性级别5.0或6.0。找到“1.4”的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好我发现这个问题已经被问了很多次,但没有被赋予满足我,因为他们解决问题的答案暂时只。

Hi I have found this question has been asked many times but no answer that was given satisfies me because they fix the problem temporary only.

这个故事: 我得到以下信息: Android的需要编译器遵从性级别5.0或6.0。找到1.4 当我导入项目从其他工作区和从SVN服务器。我一直有更新到ADT 16(含17它并没有解决它)后,这些恼人的消息。导入的项目是不是在Java 1.4中,我相信,因为我所有的项目都在JAVA 1.6。有时,当我去解决这个问题它是在JAVA 1.6,同时有消息称它在1.4。我认为这是某种形式的bug,我想一次解决它和所有我知道什么可以做,以解决项目像解释说: <一href="http://stackoverflow.com/questions/7637144/android-requires-compiler-compliance-level-5-0-or-6-0-found-1-7-instead-plea">Android需要编译器遵从性级别5.0或6.0。找到1.7代替。请使用Android的工具&gt;修复项目属性 和: <一href="http://stackoverflow.com/questions/7929453/importing-existing-android-project-in-eclipse">Importing在Eclipse 现有的Andr​​oid项目

The story: I get the following message: Android requires compiler compliance level 5.0 or 6.0. Found '1.4' when I import projects from other workspaces and from svn server. I have been having these annoying messages after the update to ADT 16 (with 17 it didn't fix it). The imported project IS NOT in java 1.4 I am sure because all my projects are in JAVA 1.6. Sometimes when I go to fix the problem it is in JAVA 1.6 while the message says it's in 1.4. I think this is some kind of bug and I would like to fix it once and for all I know what can be done to fix a project like explained in: Android requires compiler compliance level 5.0 or 6.0. Found '1.7' instead. Please use Android Tools > Fix Project Properties and: Importing existing Android project in Eclipse

和二次日再次得到错误!

and the next day Ii get the errors again!!!

有没有人找到了一个明确的解决办法?

Has anybody found a definite solution to this?

我的电脑的Ubuntu 10.04 32位(微处理器为64位),但在家里我的Ubuntu 11.10与64位,同样的事情发生了。

My computer is Ubuntu 10.04 32bits (the microprocessor is 64 bits) but at home I have ubuntu 11.10 with 64bits and the same thing happens.

推荐答案

右键点击项目 - >属性

Right Click on the project -> properties

Java的编译器,勾选其中,表示启用项目的具体设置,然后在那里说,编译器合规性水平,把1.6。

Java Compiler, tick where says "Enable project specific settings", and then where says Compiler compliance level, put 1.6.

我认为这会工作。

这篇关于Android的需要编译器遵从性级别5.0或6.0。找到“1.4”的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆