본문 바로가기
Android

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

by kkong93 2022. 5. 13.
반응형
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`.

해결방법

 

File > Setting > Build Tools

Gradle JDK를 11버전으로 변경하면 해결

반응형

댓글