react-native run-android 를 실행한 결과
+ 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`.
다음과 같은 에러가 발생했다.
com.android.application 플러그인이 java11을 필요로 해서 위의 오류가 생긴 것이다.
Android Studio에서 안드로이드 프로젝트 파일을 열고, gradle 버전을 11버전 이상으로 올려주었다.