macos – 解析android-21的数据失败不支持major.minor版本51.0在mac os Eclipse中

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性能优化——之控件的优化 前面讲了图像的优化,接下...
前言 上一篇已经讲了如何实现textView中粗字体效果,里面主要...
最近项目重构,涉及到了数据库和文件下载,发现GreenDao这个...
WebView加载页面的两种方式 一、加载网络页面 加载网络页面,...
给APP全局设置字体主要分为两个方面来介绍 一、给原生界面设...
前言 最近UI大牛出了一版新的效果图,按照IOS的效果做的,页...