Skip to content

Embedded class in Kotlin has the wrong name #1

@mulhollandaf

Description

@mulhollandaf

E/WM-WorkerFactory: Could not instantiate org.lds.justserve.work.WorkScheduler$SyncUserSkillsWorker java.lang.NoSuchMethodException: org.lds.justserve.work.WorkScheduler$SyncUserSkillsWorker. [class android.content.Context, class androidx.work.WorkerParameters]

It appears to be using the wrong name (Kotlin uses a $) when trying to look up the right factory. This was using Kotlin with an embedded class for the worker.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions