-
Notifications
You must be signed in to change notification settings - Fork 449
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unsupported major.minor version 52.0 #37
Comments
You need to start AS with JDK8 set as JAVA_HOME... just got through the same problem. |
Actually setting classpath 'me.tatarka:gradle-retrolambda:2.2.2' to version 2.2.1 solves the issue. It seems this was introduced in the 2.2.2 version. |
@mradzinski could you tell me what |
When it was set to when it's set to |
JAVA_HOME: C:\Program Files\Java\jdk1.7.0_45 right now I'll try to set JAVA_HOME to use JDK8 and JAVA7_HOME for JDK7, let's see if that makes the trick. |
Still throws the error after setting JAVA_HOME to C:\Program Files\Java\jdk1.8.0_11. By using JAVA_HOME for JDK8 and JAVA7_HOME for SDK7 I managed to make it work, but still have to use version 2.2.1 instead of 2.2.2. Found out also that compileOptions doesn't work anymore. It resets my language to 1.7. Here's my app.gradle file:
|
It's supposed to work both ways. @mradzinski could you test with version |
2.2-SNAPSHOT works, it doesn't throws the Unsupported major.minor version 52.0 error. Looks like you changed it to use localGroovy()... perhaps was a groovy issue? |
Aha! I changed the dependency from |
ehmmm... maybe a little late, but... maybe forgot to mention classpath 'com.android.tools.build:gradle:0.12.2' |
Alright, fixed in |
@evant I'll try the 2.2.3 and let you know if the problem persists. |
Sounds just right! let's close this issue now and forever :) |
I had this issue too, but making the JAVA_HOME point to JDK8 was not sufficient. |
Whenever adding the plugin to Android Studio I get:
Error:(2, 0) Cause: me/tatarka/RetrolambdaPlugin : Unsupported major.minor version 52.0
Andriod Studio 0.8.6
Gradle Build Tools 20.0.0
The text was updated successfully, but these errors were encountered: