Android requires compiler compliance level 5.0 or 6.0. 错误

今天将ADT更新了下,导入以前的工程,eclipse报了如下错误:

1

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

  1. 按提示在工程文件上 右键 -> Android Tools -> Fix Project Properties ,无效。
  2. 手动打开Project Properties -> java Compiler -> 选上Enable project specific settings -> 再选择 Compiler Compliance Leave(选择任意一个非默认的值) -> OK
  3. 重复第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

转载于:https://www.cnblogs.com/afirefly/archive/2011/09/05/2167980.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值