美文网首页
Android Gradle plugin requires J

Android Gradle plugin requires J

作者: 小福8090 | 来源:发表于2022-05-27 11:39 被阅读0次

    An exception occurred applying plugin request [id: 'com.android.application']

    > 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`.

    Mac 解决办法:

    AndroidStudio > Preferences... > Gradle

    相关文章

      网友评论

          本文标题:Android Gradle plugin requires J

          本文链接:https://www.haomeiwen.com/subject/hmpmprtx.html