Open logicgupta opened 9 months ago
@Alex009 PLEASE HAVE A LOOK
I also ran into this issue when running my Compose Multiplatform Android app.
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
Updating the target to 11 worked for me.
This works when building for Android, but not when building for desktop. I tried changing the target everywhere I can, and still get this error when building for desktop.
Cannot inline bytecode built with JVM target 11 into bytecode that is being built with JVM target 1.8
Getting Above error in compiling below line of code
val viewModel = getViewModel(key = "HomeScreen", factory = viewModelFactory { NewsViewModel() })