Mark
06/01/2025, 8:09 AMandroidMain
includes .so files (jniLibs
)? I tried a few ways but can’t seem to get the .so files bundled in the APKShubham Singh
06/01/2025, 3:16 PMLandry Norris
06/02/2025, 8:46 PMMark
06/14/2025, 3:54 PMextractNativeLibs
(I used to use it but removed it about a year ago, can’t remember why). Anyway, I tried setting it to true
and false
neither helped to include it in the APK. In my project, I have the libs in androidMain/jniLibs/arm64-v8a
etc of the kmp library module. Any other ideas? Perhaps in the build script? I’ll continue trying things out.
EDIT: .so files from external dependencies (e.g. sqlcipher, crashlytics, datastore) are being included - it’s only my ones that are notMark
06/15/2025, 3:57 AMcomposeResources/files
, I doubt abi splits (different APK for each abi) would have worked, so this feels like the best solution for now.