Kevin S
04/10/2023, 10:49 PMcommonMain
i have a class like so
class Test {
constructor(a: Long) {
...
}
constructor(b: Int, c: String) {
...
}
}
but if I try to reference a constructor from an android application I get an error of:
java.lang.NoSuchMethodError: No virtual method Int$class-Test()I in class [testKt]; or its super classes (declaration of '[testKt]' appears in [apk])
Am I doing constructors wrong?