# android

Sylvain Patenaude

09/13/2022, 3:14 PM
Not sure if in good channel, but we have a client that uses an android library (.jar) generated from kotlin multiplatform from React Native code. (They also use an iOS library generated from the same kotlin multiplatform code.) Now the iOS code still works fine, but on the Android side, they now have a java.lang.NoSuchMethodError as the static (extension) method UByteArray.get-impl isn't found anymore. I couldn't reproduce on my side from a Java client. Here are some info: java.lang.NoSuchMethodError: No static method get-impl([BI)B in class Lkotlin/UByteArray; or its super classes (declaration of 'kotlin.UByteArray' appears in /data/app/ Build Information: buildToolsVersion = "30.0.2" minSdkVersion = 26 compileSdkVersion = 30 targetSdkVersion = 30 RNNKotlinVersion = "1.5.30" // Or any version above 1.3.x RNNKotlinStdlib = "kotlin-stdlib-jdk8"