Skip to content

kotlinx.serialization.SerializationException: Serializer for class 'Traits' is not found. #813

@danielgomes96

Description

@danielgomes96

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions