I’ve recently started seeing a NoSuchMethodError when calling an expect contructor. It seems to be looking for a method
Int$class-Foo()I
, when I call the constructor
expect class Foo(s: String, i1: Int, i2: Int)
. It seems to be looking at a
LiveLiterals$FooKt
class, but not sure where this LiveLiterals is coming from. When I check the APK, I see the
LiveLiterals$FooKt
class, and it has a similar method (
Int$class-Foo()
). Not sure what’s going on.