有时候我们可能需要将项目的版本降低,比如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进行修改了一下

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

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

相关文章:

  • 2022-12-23
  • 2021-12-18
  • 2022-01-27
  • 2021-08-01
  • 2021-12-05
  • 2021-08-24
  • 2022-12-23
  • 2021-12-30
猜你喜欢
  • 2022-01-08
  • 2021-05-18
  • 2021-11-03
  • 2022-12-23
  • 2022-12-23
  • 2021-08-01
  • 2021-07-18
相关资源
相似解决方案