작성
·
129
0
안녕하세요.
맥북을 사용하고 있는 교육생입니다.
android/gradle.properties에
org.gradle.java.home=/opt/homebrew/Cellar/openjdk@17/17.0.14/libexec/openjdk.jdk/Contents/Home
이렇게 작성하고 실행하면
* What went wrong:
Execution failed for task ':agora_uikit:compileDebugKotlin'.
> 'compileDebugJavaWithJavac' task (current target is 1.8) and 'compileDebugKotlin' task (current target is 17) jvm target compatibility should be set to the same Java version.
Consider using JVM toolchain: https://kotl.in/gradle/jvm/toolchain
해당 에러가 발생합니다.
그래서 자바 버전을 1.8로 변경하고 gradle 버전도 낮춰서 해봤지만 실행이 되지 않습니다... 어떻게 해야할까요
답변 1
0
안녕하세요!
환경설정 필독 사항에서 말씀드린 것 처럼 JDK 17버전으로 변경하면 해결되는 사항입니다.
해결 어려우시면 저희 카카오채널에서 원격신청 부탁드립니다.
감사합니다!
감사합니다 java 17버전 설치중입니다.