I’ve got this in a test in `commonTest` which refe...
# serialization
r
I’ve got this in a test in
commonTest
which refers to a class in
commonMain
which is serializable:
Copy code
ClassNotFoundException: kotlinx.serialization.KSerializer
What do?
r
I caught this once, added serialization-runtime dependency to commonTest explicitly, then at some point removed it and everything kept working. Not sure about reasons for observed behavior, just noting down my experience.
r
Can confirm that adding the explicit dependency work, I’m not at the “removed it and still work” part yet but we’ll see