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

今天编译一个project,我设置为api 14,可是编译报错:

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


參考 http://stackoverflow.com/questions/22552199/unable-to-build-android-project-using-facebook-sdk-against-android-2-2-froyo
Using 1.7 requires compiling with Android 4.4 (KitKat); currently using API 8


Righ click on your project > properties > Java compiler > enable "project specific settings" Set Compiler compliance level to 1.6 re Build your project



Using 1.7 requires compiling with Android 4.4 (KitKat); currently using API 8_第1张图片



至于为啥之前编译其它project,都是ok的,就不明确了。

你可能感兴趣的:(Using 1.7 requires compiling with Android 4.4 (KitKat); currently using API 8)