Does a C-library compiled with cinterop tool suppo...
# multiplatform
k
Does a C-library compiled with cinterop tool support Android app as well or is it just for the iOS app? If so, how would a build.gradle file look like that has a cinterop tag to build a klib file for both the platforms. I am unable to make this klib work for android right now. Any ideas?
l
It'd work with the native Android targets that run off ART and off the java and Kotlin/JVM APIs. You can communicate with that world through JNI (way less nice, yes, but possible, and Google put samples for JNI)
👍 2
s