淘先锋技术网

首页 1 2 3 4 5 6 7

为什么出现Unsupported major.minor version 52.0?

You get this error because a Java 7 VM tries to load a class compiled for Java 8

Java 8 has the class file version 52.0 but a Java 7 VM can only load class files up to version 51.0

In your case the Java 7 VM is your gradle build and the class is com.android.build.gradle.AppPlugin

升级Java8,顺利解决问题

转载于:https://www.cnblogs.com/CnKker/p/11125249.html