An exception occurred applying request [id: 'com.android.application'] 오류 해결법

hyihyi·2022년 12월 13일
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.
      Your current JDK is located in E:\JDK\jre
      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`.

* Try:
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.

현재 그래들 플러그인을 실행하려면 Java 11을 사용해야 하는데 java 1.8을 사용하고 있어서 사용하는 오류
-> 그래들 자바 버전을 바꿔주면 된다.
File > settings > Gradle > Gradle JDK를 11 version으로 바꾸기

profile
자유롭게 쓴 나의 자유로운 Development voyage⛵

0개의 댓글