java.lang.UnsupportedClassVersionError: com/android/dx/command/Main : Unsupported major.minor version 52.0

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,
via Google Groups by Marcus Haebler

Update "latest" to Java 8 on DockerHub.

Solutions on the web

via Stack Overflow by Harsh Shanishwara
, 1 year ago
com/android/dx/command/Main : Unsupported major.minor version 52.0
via Stack Overflow by Ajay Yadiki
, 1 year ago
com/android/dx/command/Main : Unsupported major.minor version 52.0
via GitHub by dehamzah
, 1 year ago
com/android/dx/command/Main : Unsupported major.minor version 52.0
via Stack Overflow by floid costa
, 10 months ago
via GitHub by oshyshko
, 2 years ago
com/haskforce/highlighting/annotation/external/GhcModi : Unsupported major.minor version 52.0
via GitHub by maropu
, 1 year ago
com/puppycrawl/tools/checkstyle/api/CheckstyleException : Unsupported major.minor version 52.0
java.lang.UnsupportedClassVersionError: com/android/dx/command/Main : Unsupported major.minor version 52.0

Users with the same issue

19 times, 1 week ago
Once, 2 weeks ago
5 times, 1 month ago
Once, 2 months ago
Once, 2 months ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.