개발새발 - IT 기술블로그
article thumbnail
[안드로이드] 에러 'compileDebugJavaWithJavac' task and 'compileDebugKotlin' task jvm target compatibility should be set to the same Java version. 해결
Android 2022. 12. 7. 13:32

Error 'compileDebugJavaWithJavac' task (current target is 11) and 'compileDebugKotlin' task (current target is 1.8) jvm target compatibility should be set to the same Java version. 작성코드👀 Android { ... compileOptions { sourceCompatibility JavaVersion.VERSION_11 targetCompatibility JavaVersion.VERSION_11 } kotlinOptions { jvmTarget='11' } ... } 자바 버전을 JavaVersion.VERSION_1_8(8)에서 JavaVersion.VERSI..