You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi guys, I'm using "com.segment.analytics.android:analytics:4.10.4" in my current project and wherever I do:
val traits = Traits()
in the project, I get the following error:
kotlinx.serialization.SerializationException: Serializer for class 'Traits' is not found.
Mark the class as @Serializable or provide the serializer explicitly.
The text was updated successfully, but these errors were encountered:
need more context here. what's the usage of the traits? are you serializing it with the kotlinx seralization sdk? because the sdk itself is not using that library.
since you're using this library in kotlin, it's recommended to upgrade to our analytics-kotlin. it's idiomatic in kotlin, and takes the advantage of coroutines. see performance benchmark here
Hi guys, I'm using "com.segment.analytics.android:analytics:4.10.4" in my current project and wherever I do:
val traits = Traits()
in the project, I get the following error:
The text was updated successfully, but these errors were encountered: