android/error
cannot inline bytecode built with jvm target 1.8 into bytecode that is being built with jvm target 1.6. please specify proper '-jvm-target' option
thomass
2019. 11. 4. 14:33
that is being built with jvm target 1.6. please specify proper '-jvm-target' option 에러가 뜬다면!!
File-settings안의 kotlin compiler 안의 target JVM version을 바꿔준다
바꿔줘도 에러가 뜬다면
File-Invalidate Caches / Restart 후 Build - Clean Project
이래도 안되면
build.gradle(module:app)안의
android{} 안에 kotlinOptions{jvmTarget = "1.8"} 을 넣는다
반응형