Skip to content

Throws except when unit testing #145

@bpappin

Description

@bpappin

When unit testing code that uses the HumanReadable library, an exception is thrown.

libcore/icu/NativePluralRules
java.lang.NoClassDefFoundError: libcore/icu/NativePluralRules
at io.github.skeptick.libres.strings.PluralString_androidKt.getPluralizedString(PluralString.android.kt:14)
at io.github.skeptick.libres.strings.VoidPluralString.format(PluralString.common.kt:6)
at nl.jacobras.humanreadable.TimeUnit.format(TimeUnit.kt:50)
at nl.jacobras.humanreadable.HumanReadableDurationKt.formatDuration-VtjQ1oo(HumanReadableDuration.kt:32)
at nl.jacobras.humanreadable.HumanReadable.duration_LRDsOJo$lambda$1(HumanReadable.kt:42)
at nl.jacobras.humanreadable.SafelyTranslateKt.safelyTranslate(SafelyTranslate.kt:10)
at nl.jacobras.humanreadable.HumanReadable.duration-LRDsOJo(HumanReadable.kt:42)

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