Parsing data for Android L failed.Unsupported major.minor version 51.0(解析 Android L 的数据失败.不支持的 major.minor 版本 51.0)
问题描述
安装 ADT Plugin for 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 解决了这个问题 来自 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的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:解析 Android L 的数据失败.不支持的 major.minor 版本 51.0


- Jersey REST 客户端:发布多部分数据 2022-01-01
- 如何使用WebFilter实现授权头检查 2022-01-01
- Safepoint+stats 日志,输出 JDK12 中没有 vmop 操作 2022-01-01
- Eclipse 插件更新错误日志在哪里? 2022-01-01
- 将log4j 1.2配置转换为log4j 2配置 2022-01-01
- Spring Boot连接到使用仲裁器运行的MongoDB副本集 2022-01-01
- value & 是什么意思?0xff 在 Java 中做什么? 2022-01-01
- C++ 和 Java 进程之间的共享内存 2022-01-01
- Java包名称中单词分隔符的约定是什么? 2022-01-01
- 从 finally 块返回时 Java 的奇怪行为 2022-01-01