Open xclidongbo opened 1 year ago
Here's an simple way to check the libwhisper libraries are actually bundled in apk:
$ANDROID_HOME/cmdline-tools/latest/bin/apkanalyzer files list <PATH_RN_PROJECT>/android/app/build/outputs/apk/debug/app-deubg.apk | grep libwhisper
Expected result:
/lib/x86_64/libwhisper.so
/lib/x86/libwhisper.so
/lib/armeabi-v7a/libwhisper_vfpv4.so
/lib/armeabi-v7a/libwhisper.so
/lib/arm64-v8a/libwhisper_v8fp16_va.so
/lib/arm64-v8a/libwhisper.so
If you don't see anything by the grep filter or it missing on some platforms, you will need to check your root project build configuration, like packagingOptions
.
Gradle:6.7.1 AGP: 4.2.2 ndk: 25.1.8937393
build success, but crash when running.