x2on / gradle-spoon-plugin

A Gradle plugin for running Android instrumentation tests with Spoon.
MIT License
39 stars 6 forks source link

Error:(4, 0) Cause: de/felixschulze/gradle/SpoonPlugin : Unsupported major.minor version 51.0 #11

Closed kannanloganathan closed 9 years ago

kannanloganathan commented 9 years ago

Whenever i try to do a gradle sync, i have been getting this error. Error:(4, 0) Cause: de/felixschulze/gradle/SpoonPlugin : Unsupported major.minor version 51.0

I am using Android Studio V 1.0.9. i upgraded to 1.1.0, but still does not help..

But still i am able to use spoon when i try using the command line. this is what i have in my build.gradle.

dependencies {
    classpath 'com.android.tools.build:gradle:1.0.0'
    classpath 'org.robolectric:robolectric-gradle-plugin:0.14.+'
    classpath 'com.jakewharton.hugo:hugo-plugin:1.1.0'
   }

apply plugin: 'com.android.application' apply plugin: 'robolectric' apply plugin: 'hugo' apply plugin: 'de.felixschulze.gradle.spoon'

Any help will be appreciated

x2on commented 9 years ago

Hi, sounds like an issue with your JDK.

Which version do you have installed?

see http://stackoverflow.com/questions/10382929/unsupported-major-minor-version-51-0

x2on commented 9 years ago

Im closing this during inactivity. Please feel free to reopen if the problem is not solved.