-
Cannot inline bytecode built with JVM target 1.8 into bytecode that is being built with JVM target 1.6Android/Error 2020. 1. 9. 00:05반응형
Cannot inline bytecode built with JVM target 1.8 into bytecode that is being built with JVM target 1.6
위와 같은 에러가 발생시
App build.gradle 에 아래의 부분을 추가합니다.
android { ... compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 } kotlinOptions { jvmTarget = JavaVersion.VERSION_1_8.toString() } }
또는
preferences... -> kotlin Compier -> Kotlin to JVM -> Target JVM version 을 1.8로 변경하시면 됩니다.
[참고 링크]
반응형'Android > Error' 카테고리의 다른 글