码迷,mamicode.com
首页 > 移动开发 > 详细

解决Using 1.7 requires compiling with Android 4.4 (KitKat); currently using API 4

时间:2014-11-08 16:33:33      阅读:198      评论:0      收藏:0      [点我收藏+]

标签:android   style   blog   http   color   java   sp   on   2014   

有时候我们可能需要将项目的版本降低,比如4.4降低到2.2这样的,可能会遇到类似于这样的错误

Using 1.7 requires compiling with Android 4.4 (KitKat); currently using API 4

总之就是jdk的问题了,解决方案是:Righ click on your project > properties > Java compiler > enable "project specific settings" Set Compiler compliance level to 1.6 re Build your project

也就是将编译的JDK进行修改了一下

bubuko.com,布布扣

参考自:http://www.cnblogs.com/xiaokang088/p/3829205.html

解决Using 1.7 requires compiling with Android 4.4 (KitKat); currently using API 4

标签:android   style   blog   http   color   java   sp   on   2014   

原文地址:http://www.cnblogs.com/tianzhijiexian/p/4083532.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!