Parsing data for Android L failed.Unsupported major.minor version 51.0

前端 未结 8 1092
面向向阳花
面向向阳花 2020-12-18 18:32

After installing ADT Plugin for Eclipse, I tried to make a new Hello world Android app.

But I met with the following error when I tried to open a new Android Applica

8条回答
  •  再見小時候
    2020-12-18 18:53

    Have had same problem when upgrading to SDK 5.0. As seen in different answers, the solution for me was:

    1. Download a new JDK (1.8)
    2. Update my Eclipse config file with the location of the new JDK:

      org.eclipse.platform --launcher.XXMaxPermSize 256m --launcher.defaultAction openFile
      -vm C:/jdk1.8.0_25/bin/javaw.exe -vmargs -Dosgi.requiredJavaVersion=1.6 -XX:MaxPermSize=256m
      

    Didn't need to modify JDK compliance.

提交回复
热议问题