报错现象如下图:1. 在build.gradle中查看编译版本2.查看studio设置,修改studio设置的jdk设置。方法一:修改JDK,更改为JDK1.8,方法二:更改studio编译版本。

Studio 编译报错:compileSdkVersion 'android-24' requires JDK 1.8 or later to compile.

Studio 编译报错:compileSdkVersion 'android-24' requires JDK 1.8 or later to compile.