Unsupported major.minor version 52.0 - ios build

Hello all,

I just getting started with multi-os engine, and I have a problem with ios compilation.
I have a new gradle version (gradle-3.2-all with com.android.tools.build:gradle:2.3.0-beta1), but I also try older version for this.

What i get when i try build app :

FAILURE: Build failed with an exception.

  • Where:
    Build file ‘D:\workspace\moe-samples-java\test2\ios\build.gradle’ line: 22

  • What went wrong:
    A problem occurred evaluating project ‘:ios’.

java.lang.UnsupportedClassVersionError: org/moe/gradle/MoePlugin : Unsupported major.minor version 52.0

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.


I was try change java version, gradle version, gradle tools version, refresh dependencies.
Also i have to say, thath android app built well without problems.

I have a windows 7, android studio 2.3 beta1, I using remote build to connect with my mac.

Dear gbbyk1,

our Gradle plugin requires Java 8 runtime. This kind of Unsupported major.minor version 52.0 indicates, that the VM is Java 7 or older.

Best Regards,

Dear liliomk,

Thanks, you have right - solution was very simple, change in environment variables JAVA_HOME path to java 8.