complile
-
'compileDebugJavaWithJavac' task (current target is 11) and 'kaptGenerateStubsDebugKotlin' task (current target is 1.8) jvm target compatibility should be set to the same Java version.Android/Error 2022. 4. 6. 11:15
해당 경고는 compileOptions에 사용되는 java 버전과 kotlinOptions의 java 버전이 다를 경우 경고를 표시해 줍니다. 각 버전을 동일하게 맞추면 됩니다. Android { ... compileOptions { sourceCompatibility JavaVersion.VERSION_11 targetCompatibility JavaVersion.VERSION_11 } kotlinOptions { jvmTarget='11' } ... } [참고링크] https://stackoverflow.com/questions/69079963/how-to-set-compilejava-task-11-and-compilekotlin-task-1-8-jvm-target-com