Gradle plugin requires Java 11 to run. You are currently using Java 1.8.

Posted 安果移不动

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Gradle plugin requires Java 11 to run. You are currently using Java 1.8.相关的知识,希望对你有一定的参考价值。

A problem occurred evaluating project ':app'.
> Failed to apply plugin 'com.android.internal.application'.
   > Android Gradle plugin requires Java 11 to run. You are currently using Java 1.8.
     You can try some of the following options:
       - changing the IDE settings.
       - changing the JAVA_HOME environment variable.
       - changing `org.gradle.java.home` in `gradle.properties`.

之前是1.7改为11就好了

以上是关于Gradle plugin requires Java 11 to run. You are currently using Java 1.8.的主要内容,如果未能解决你的问题,请参考以下文章

Android Gradle plugin requires Java 11 to run. You are currently using Java 1.8

Gradle plugin requires Java 11 to run. You are currently using Java 1.8.

Android Gradle plugin requires Java 11 to run. You are currently using Java 1.8.

Android Gradle plugin requires Java 11 to run. You are currently using Java 1.8.

错误记录Android Studio 编译报错 ( Android Gradle plugin requires Java 11 to run. You are currently using )

Android studio提示Android Gradle plugin requires Java 11 to run. You are currently using Java 1.8.(代码片