Hi š I have a multiplatform project targeting Desktop and Android. I would like to use the library for navigation voyager, but unfortunately, Iām getting this error.
Cannot inline bytecode built with JVM target 11 into bytecode that is being built with JVM target 1.8. Please specify proper '-jvm-target' option
Any suggestion how to solve it ?
b
Big Chungus
02/01/2022, 12:15 PM
Bump your jvm to 11 as the error states.
Big Chungus
02/01/2022, 12:16 PM
This happens, because library author compiled it against JDK11, but looks like you're using JDK8
ā 1
d
darkmoon_uk
02/11/2022, 2:22 AM
š¤ I've just started getting this on my project as well, but I'm specifying Java 11 for all
KotlinCompile
and all Android configuration blocks.
darkmoon_uk
02/11/2022, 2:23 AM
@ynsok Did you get your issue resolved?
darkmoon_uk
02/11/2022, 3:47 AM
...just fixed mine; I was missing the multiplatform form of Kotlin-level