https://kotlinlang.org logo
n

Nikola Drljaca

03/01/2021, 4:54 PM
I'm working on a project in Compose and running the app on a device. I'm getting this weird error which causes the app to crash if the app is open and I'm editing the code
JNI DETECTED ERROR IN APPLICATION: JNI CallVoidMethodV called with pending exception java.lang.NoSuchMethodError: no non-static method "Landroidx/compose/runtime/HotReloader$Companion;.saveStateAndDispose(Ljava/lang/Object;)V"
. The trace is pretty extensive after that first line. Is anyone else having this issue? Been googling a bit but can't find anything.
👍 1
a

Archie

03/01/2021, 4:54 PM
same here
o

Olivier Patry

03/01/2021, 5:54 PM
I had the same too, didn't know where to notify it. Don't know in which case exactly I was for a repro. Here follow the full stack if that helps
j

jaqxues

03/01/2021, 6:01 PM
Yeah, happens to me too anytime i type anything in the ide
r

Rick Regan

03/01/2021, 6:11 PM
I get that running the sample apps ("Rally" is one).
d

Denis Ismailaj

03/01/2021, 7:52 PM