Error:unsupported class file version 52.0. What do we do?
-
Error:unsupported class file version 52.0 Error:PARSE ERROR: Error:1 error; aborting Error:...while parsing com/mysql/jdbc/JDBC42CallableStatement.class Error:Execution failed for task ':app:transformClassesWithDexForDebug'. > com.android.build.api.transform.TransformException: java.lang.RuntimeException: com.android.ide.common.process.ProcessException: java.util.concurrent.ExecutionException: com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command 'C:\Program Files\Java\jdk1.8.0_73\bin\java.exe'' finished with non-zero exit value 1 :app:transformClassesWithDexForDebug FAILED
What a mistake and how to fix it. How do you put jdbc?
-
Here. https://www.oracle.com/java/technologies/javase/8-compatibility-guide.html :
The class file version for Java SE 8 is 52.0 as per the JVM Specification. Version 52.0 class files produced by a Java SE 8 compiler cannot be used in earlier releases of Java SE.
Deliver JDK 1.7 and recompilate.