解析Android L的数据失败。不支持major.minor版本51.0 [英] Parsing data for Android L failed.Unsupported major.minor version 51.0

查看:134
本文介绍了解析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.

这篇关于解析Android L的数据失败。不支持major.minor版本51.0的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆