我刚安装了Android SDK R16和JDK 7,但我不断收到错误
I just installed the Android SDK R16 and JDK 7, but I keep getting the error
Android的需要编译器遵从性级别5.0或6.0。找到1.7代替。请使用Android的工具>修复项目属性。
Android requires compiler compliance level 5.0 or 6.0. Found '1.7' instead. Please use Android Tools > Fix Project Properties."
我使用的是JRE 1.7的一些特点,所以我不能只是将其切换到1.6。我该如何解决这个问题呢?
I am using some features of the JRE 1.7, so I can't just switch it to 1.6. How can I fix this problem?
您只需要在电脑上1.6 present。我有同样的问题。安装1.6 JDK,并将其添加为已知的JDK,但实际上并没有选择它为你的项目。
You just need 1.6 present on your PC. I had the same problem. Install 1.6 JDK, and add it as known JDK, but don't actually select it for your project.