Android Project Import 후 Gradle Build시 처음엔 하단의 에러가 발생했다. 

warning: Kotlin runtime JAR files in the classpath should have the same version

 

이에 상세한 에러를 확인하기 위해 아래 명령어를 쳤더니 아래오류를 발견하였다. 

./gradlew assemble --stacktrace

unrecognized Attribute name MODULE (class com.sun.tools.javac.util.SharedNameTable$NameImpl)

 

 

Android Studio Gradle 설정에서 Gradle JDK버전을 JDK11로 맞춰주면 된다.

Settings > Build, Execution, Deployment > Build Tools > Gradle > Gradle JDK

 

 

+ Recent posts