Join Slack
Powered by
Is it possible to configure the shared library so ...
# multiplatform
t
Trey
05/19/2022, 5:16 PM
Is it possible to configure the shared library so that it will compile native code that can be called via JNI for the androidCommon actual classes?
m
Michal Klimczak
05/19/2022, 5:46 PM
Can't think of a reason to do it, but looking at the docs, you should be fine - just create an
so
lib and call it through JNI:
https://kotlinlang.org/docs/native-dynamic-libraries.html#create-a-kotlin-library
t
Trey
05/19/2022, 6:44 PM
In my case I want to use libopus. Not sure if it makes sense to build it myself or use precompiled so files.
4
Views
Open in Slack
Previous
Next