https://kotlinlang.org logo
#compose
Title
# compose
s

Smorg

10/01/2022, 2:30 PM
Getting an IR Lowering error with this root cause
Caused by: java.lang.IllegalStateException: couldn't find inline method Landroidx/lifecycle/viewmodel/compose/ViewModelKt;
. Any suggestions on how to fix this?
z

Zach Klippenstein (he/him) [MOD]

10/04/2022, 10:30 AM
Any chance you can narrow down what code is triggering it and post here?
s

Smorg

10/04/2022, 12:25 PM
I think it has something to do with not including the
kotlinOptions
in my Android config. Wasn’t able to initially specify it because the DSL wasn’t available through KMM.
33 Views