https://kotlinlang.org logo
#kotlin-native
Title
# kotlin-native
l

Landry Norris

03/16/2023, 6:06 PM
I’m building a shared object file that will be used by the JVM via JNI. Is it safe to just build it for linuxX64 and linuxArm64, and re-use the same binaries for androidNativeArm64 and androidNativeX64, or will I have to create separate binaries for linux vs. android NDK? Android is built off Linux, so I’d assume the only issue is that I won’t have access to android-specific methods.
e

ephemient

03/16/2023, 9:43 PM
you need separate binaries
even if it's all "Linux", one uses glibc and the other bionic
6 Views