본문 바로가기
Android

[Android/삽질 기록] 빌드시 버전 오류

by 준토리73 2022. 12. 14.

 

🚫 오류메시지 

더보기

An exception occurred applying plugin request [id: 'com.android.application', version: '7.1.0-alpha11']
> 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`.

 

 

💡 안드 오류메시지는 친절하다.  해결방안까지 제시한다 💡

- changing the IDE settings.
 - changing the JAVA_HOME environment variable.
 - changing `org.gradle.java.home` in `gradle.properties`.

 

 

 

참고1) https://developer.android.com/studio/intro/update

참고2) https://java.ihoney.pe.kr/425

 

댓글