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

来源:互联网 发布:城市环境质量监测数据 编辑:程序博客网 时间:2024/06/05 17:45

我的android项目之前一直运行正常的,没有错误;

今天看源码,svn管理的bin和gen每次都会重新编译,想把这两个目录从svn管理中去掉,然后在svn端将bin和gen目录删除了,并没有更新到本地,本地的这两个目录页没有了,然后就是src下的大片红叉,因为R文件没有了,尝试clean重新编译应该就OK了,控制台报错:

Using 1.7 requires compiling withAndroid 4.4 (KitKat); currently using API 10

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



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

 

參考 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

0 0
原创粉丝点击