Error: A JNI error has occurred, please check your installation and try again
Exception in thread “main” java.lang.UnsupportedClassVersionError: Main has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
较高版本的JDK编译的java class文件试图在较低版本的JVM上运行产生的错误
打开File-Project structure,把默认目录下的JDK路径改为自己的目录
其实这个路径我是看Android studio的设置里填写的…