解析android-21的数据失败在mac os Eclipse中不支持major.minor版本51.0 [英] Parsing Data for android-21 failed Unsupported major.minor version 51.0 in mac os Eclipse

查看:242
本文介绍了解析android-21的数据失败在mac os Eclipse中不支持major.minor版本51.0的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用Mac OS X Yosemite版本10.10.1和Eclipse Luna 4.4



我将Android SDK集成到Eclipse中,并显示以下错误



我在网上搜索,我知道这个问题是基于java JDK版本问题。



在我的Mac我安装了JDK 1.6和1.7和1.8。



我知道JDK 1.6将不支持android 5.所以在Eclipse中我将java编译器设置为JDK 1.7,但在设置后,如果我重新启动Eclipse,它再次设置为JDK 1.6。



我的问题是哪个JDK将在Mac中支持Android SDK。以及如何从我的Mac机器中完全卸载JDK 1.6。



我在过去两天遇到这个问题,但我无法得到解决方案。任何人都可以帮助克服这个问题。



我的简单需要是我想在mac机器上运行Android。



解决方案


问题解决了。经过搜索很多,我得到了解决方案。



答案是



Eclipse应该是64位版本,
并使用android的java JDK应为1.7



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

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

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

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