Hey all. I have an error with Intellij where the `...
# serialization
s
Hey all. I have an error with Intellij where the
serializer()
function is not being recognized, nor the
@Serializable
annotation, but the dependencies are being built correctly and everything works as intended. The
@Serializable
annotation has a warning that the Kotlinx.Serialization compiler plugin is not applied to the module (which is not true), and the
Foo.serializer()
function is showing up as not being found (I'm assuming as a result of Intellij thinking that the kotlinx.serialization compile plugin not being applied). Anyone know how to fix this? I've updated my Intellij to the latest version, as well as Kotlinx.Serialization library to no avail.
a
can we see your build.gradle file?
k
Delete the .gradle folder in your project dir...and maybe the .idea folder. It sometimes caches stale stuff..