简体   繁体   中英

Parsing Data for android-21 failed on JDK1.8

Been facing this issue on the out of the box standard android 21 application see attached Android L的问题

I am on 10.9.5 Mac OS XI am currently on JDK 1.8 see

/usr/libexec/java_home
/Library/Java/JavaVirtualMachines/jdk1.8.0_45.jdk/Contents/Home

In eclipse it shows the following: 在此处输入图片说明

I have tried switching the JDK versions and also installing/uninstalling eclipse, SDK and SDK tools.

Everything works fine in Android studio but not eclipse. unfortunately I have to get it to work on Eclipse.

Would appreciate any pointers you may have on the issue!

You will need to install JDK version 1.7. Android doesn't support JDK v1.8 yet. You can get the latest JDK v1.7 from here .

Also, when you update your Android SDK, you must also update your Android Development Tools (ADT) for Eclipse at the same time. If you don't, you'll get all sorts of errors.

UPDATE: As of April 27 2015, Mac® OS X® version 10.9.5 and JDK version 1.8 are not yet supported by Android SDK. See here for more info.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM