macos - 在 mac os Eclipse 中解析 android-21 的数据失败 Unsupported major.minor version 51.0

标签 macos eclipse-plugin android-sdk-tools jdk1.6

i am using Mac os x Yosemite version 10.10.1 And Eclipse Luna 4.4

i integrated Android SDK into Eclipse and it showing the Following Error



when i open the project its says like this

i searched in net and i came to know that this problem is based on java JDK version problem.

in My mac i installed JDK 1.6 and 1.7 and 1.8 as well.

i know JDK 1.6 will not support for android 5. so in Eclipse i set the java compiler to JDK 1.7 but after setting if i restart the Eclipse its again setting to JDK 1.6 .

My question is which JDK will support the Android SDK in Mac. And How to completely uninstall the JDK 1.6 from my mac machine.

i am facing this problem for last two days but i can not get the solution yet. can anyone kindly help to overcome this problem.

My simple need is i wants to run the Android in mac machine .

最佳答案

The problem is solved . after searching lots of this i got the solution.

The answer is

Eclipse should be 64 bit version, and to use android the java JDK should be 1.7

关于macos - 在 mac os Eclipse 中解析 android-21 的数据失败 Unsupported major.minor version 51.0,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/28643058/

相关文章:

android - 自动接受所有 SDK 许可

java - 我无法通过双击执行 .jar 文件

ios - 如何用 6 个三角形 SCNNode 制作六边形?

objective-c - 将 CGImageRef 转换为 NSData 会增加 Mac 应用程序中的应用程序内存使用量

java - jdt.core Java 模型的 JUnit 测试

android - ionic 构建 android 失败——未找到构建工具

c++ - LLDB - 设置源代码路径

java - 将 manifest-first maven 项目的依赖打包到 jar 中

database - 如何在 Windows 中使用的 Eclipse 中设置 Prolog Interpreter 路径?

android - 我可以针对未发布的 SDK 版本吗?