Human-Readable icon indicating copy to clipboard operation
Human-Readable copied to clipboard

Throws except when unit testing

Open bpappin opened this issue 9 months ago • 0 comments

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)

bpappin avatar Apr 04 '25 00:04 bpappin