has anyone seen this error before: java.lang.NoClassDefFoundError: Failed resolution of: Lkotlinx/serialization/internal/GeneratedSerializer? it's happening when running connected tests on Android.
😕 2
Kris Wong
01/07/2020, 3:05 PM
the serialization occurs in an MPP library
Kris Wong
01/07/2020, 4:26 PM
we suspect proguard
Kris Wong
01/08/2020, 4:46 PM
turns out it's not proguard
Kris Wong
01/08/2020, 4:54 PM
we even added the runtime as an explicit dependency in the app project and still get the same error. it doesn't make any sense.
Kris Wong
01/08/2020, 6:29 PM
this was due to me distributing a skinny jar instead of a fat jar
Kris Wong
01/08/2020, 6:30 PM
too used to maven handling dependencies to even think about it 🙂