Such error Error: unsupported class file version 52.0. What caused it and how to fix it?

Reported as a duplicate by Vladyslav Matviienko , Kromster , Bald , user194374, Denis on Jul 18 Jul '16 at 6:11 .

This question has been marked as a duplicate of an existing one.

  • What version of BuildTools are you using? This error occurs when using version 24.0.0 . If you are using 24.0.0 , then switch to 23.0.3 - Vladyslav Matviienko
  • And again you ask your question several times. This is forbidden to do. - Vladyslav Matviienko pm

1 answer 1

Most likely, you are trying to run your application on a Java version lower than the one under which the classes were compiled. Try upgrading java to version 8