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

Stack Overflow | An Karthik | 6 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Error while upgrading Android platform

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

    Errors with default Android Studio projects

    Stack Overflow | 12 months ago | Andrei Charnyshou
    java.lang.UnsupportedClassVersionError: com/android/dx/command/Main : Unsupported major.minor version 52.0
  3. 0

    Created first app getting this error when build app. I just created new activity and try to run it

    Stack Overflow | 11 months ago | k31453
    java.lang.UnsupportedClassVersionError: com/android/dx/command/Main : Unsupported major.minor version 52.0
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Packaging Error... PLEASE HELP

    unrealengine.com | 5 months ago
    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. jf-ast 1 times, last 2 months ago
  2. Cafecanudo 2 times, last 5 months ago
  3. bpbhat77 2 times, last 6 months ago
42 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
    LauncherHelper.checkAndLoadMain
    1. java.lang.ClassLoader.defineClass1(Native Method)
    2. java.lang.ClassLoader.defineClass(ClassLoader.java:800)
    3. java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
    4. java.net.URLClassLoader.defineClass(URLClassLoader.java:449)
    5. java.lang.ClassLoader.loadClass(ClassLoader.java:358)
    6. sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:482)
    7. java.lang.ClassLoader.defineClass1(Native Method)
    8. java.lang.ClassLoader.defineClass(ClassLoader.java:800)
    9. java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
    10. java.net.URLClassLoader.defineClass(URLClassLoader.java:449)
    11. java.net.URLClassLoader.access$100(URLClassLoader.java:71)
    12. java.lang.ClassLoader.loadClass(ClassLoader.java:358)
    13. sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:482)
    14. java.net.URLClassLoader$1.run(URLClassLoader.java:361)
    15. java.lang.ClassLoader.loadClass(ClassLoader.java:358)
    16. sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:482)
    16 frames