解析Android L的数据失败。不支持major.minor版本51.0
在安装ADT插件Eclipse之后,我试图制作一个新的Hello World Android应用程序。
After installing ADT Plugin for Eclipse, I tried to make a new Hello world Android app.
但是当我尝试打开一个新的Android应用程序
我正在使用 JDK 7.0和JRE 7.0。
我最初使用JDK 6.0,但遇到相同的错误,因此我卸载它并安装了JDK 7.0并更改了路径设置。
But I met with the following error when I tried to open a new Android Application. I'm working with JDK 7.0 and JRE 7.0. I initially worked with JDK 6.0, but met with the same error, hence I uninstalled it and installed JDK 7.0 and changed the path settings respectively.
错误显然是:
加载Android L(预览)的数据遇到问题。解析Android L的数据失败。不支持major.minor版本
51.0。
我的合规级别也仅改为JDK 1.7。
我也将我的JRE合规性更改为1.7。
My compliance levels are also changed to JDK 1.7 only. And I also changed my JRE compliance to 1.7.
我在我的 Mac OSX ,对于我来说,问题已经通过从 JDK 1.8 jdk8-downloads-2133151.htmlrel =noreferrer> Java SE开发工具包8下载。您只需要安装(或更新) JDK 1.8 并重新启动eclipse。而已!以后应该工作。
I was facing the same problem on my Mac OSX and for me the problem was resolved by downloading and installing JDK 1.8 from Java SE Development Kit 8 Downloads. You just need to install(or update to) JDK 1.8 and restart the eclipse. That's it! Should work afterwards.