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

Samebug tips2

Update "latest" to Java 8 on DockerHub.

You're using an older version of java with classes compiled for java7

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Stack trace

  • java.lang.UnsupportedClassVersionError: com/android/dx/command/Main : Unsupported major.minor version 52.0 at java.lang.ClassLoader.defineClass( at java.lang.ClassLoader.defineClass1(Native Method) at at java.lang.ClassLoader.defineClass( at at at$100( at at$ at$100( at$ at Method) at at java.lang.ClassLoader.loadClass( at sun.misc.Launcher$AppClassLoader.loadClass( at java.lang.ClassLoader.loadClass(

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

Unknown visitor
Unknown visitorOnce,
Eric HendersonEric Henderson
Unknown visitor
Unknown visitorOnce,
2 times, last one
Unknown visitor
Unknown visitorOnce,
63 more bugmates