Hello, everyone! When I start runReleaseDistributa...
# compose-desktop
a
Hello, everyone! When I start runReleaseDistributable some methods and classes are not found, for example I am receiving following error: Provider io.ktor.serialization.kotlinx.json.KotlinxSerializationJsonExtensionProvider not found. Did anyone else encountered such issue?
I found Kotlinx serialization itself will work if the proguard rules from its repo are added
Using KTOR serialization for a response or request body will fail
a
in that case, what should I do to make sure that antiviruses will not see the app as a virus?
m
I don't think it is related to antivirus
a
yeah, I just realized that I need to digitally sign the application. Thank you for your help!
m
It's not that either
I think it is due to use of Proguard
which is enabled by default on release builds
It will remove classes that it think are unused
That will cause a problem if those classes are being used in a way that proguard can't see (e.g. via reflection)
m
Did you manage to resolve this issue? I've got the same error as you originally posted @Arystan Kalmakhanov