Android java.lang.NoClassDefFoundError: FakerService$$ExternalSyntheticLambda1 #90
Labels
bug 🐞
Something isn't working
core 🧬
Issue related to :core module
good first issue 🔰
Good for newcomers
Milestone
I'm getting NoClassDefFoundError when creating Faker instance on android API 22.
The issue seems to be connected with calling
defaultValues.merge()
inprivate fun load(locale: String): Dictionary
in the following place:I can see that it's not available in Kotlin API and Java API is used. According to android docs merge() is available since API 24 and I have no issues running the code on API 30.
I don't know if you are going to handle this android-specific case but i think it could be possible to update merging using Kotlin API only similar to this gist.
The text was updated successfully, but these errors were encountered: