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

Stack Overflow | Cyerol | 8 months ago
tip
Do you find the tips below useful? Click on the to mark them and say thanks to poroszd and rafael . Or join the community to write better ones.
  1. 0
    samebug tip
    Update "latest" to Java 8 on DockerHub.
    via Google Groups by Marcus Haebler
  2. 0
    samebug tip
    You're using an older version of java with classes compiled for java7
    via GitHub by Athou
  3. 0
    samebug tip
    From v1.2 and beyond, ElasticSearch doesn't support Java 6 anymore, consider upgrading to Java 7 or any newer version or getting an older version of ElasticSearch.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    ionic Android build error

    Stack Overflow | 8 months ago | Cyerol
    java.lang.UnsupportedClassVersionError: com/android/dx/command/Main : Unsupported major.minor version 52.0
  6. 0

    While adding OSMDroid library getting Error as Execution failed for task ':app:transformClassesWithDexForDebug'

    Stack Overflow | 1 year ago | Aprajeeta Sinha
    java.lang.UnsupportedClassVersionError: com/android/dx/command/Main : Unsupported major.minor version 52.0

  1. Casper 2 times, last 2 months ago
  2. chenjunjun 1 times, last 5 months ago
  3. Mark 1 times, last 5 months ago
  4. harshg 4 times, last 8 months ago
  5. muffinmannen 1 times, last 11 months ago
2 more registered users
59 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.UnsupportedClassVersionError

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

    at java.lang.ClassLoader.defineClass1()
  2. Java RT
    ClassLoader.loadClass
    1. java.lang.ClassLoader.defineClass1(Native Method)
    2. java.lang.ClassLoader.defineClass1(Native Method)
    3. java.lang.ClassLoader.defineClass(ClassLoader.java:800)
    4. java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
    5. java.net.URLClassLoader.defineClass(URLClassLoader.java:449)
    6. java.net.URLClassLoader.access$100(URLClassLoader.java:71)
    7. java.net.URLClassLoader$1.run(URLClassLoader.java:361)
    8. java.net.URLClassLoader$1.run(URLClassLoader.java:355)
    9. java.security.AccessController.doPrivileged(Native Method)
    10. java.net.URLClassLoader.findClass(URLClassLoader.java:354)
    11. java.lang.ClassLoader.loadClass(ClassLoader.java:425)
    12. sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
    13. java.lang.ClassLoader.loadClass(ClassLoader.java:358)
    13 frames