usefulsensors / openai-whisper

Robust Speech Recognition via Large-Scale Weak Supervision
MIT License
62 stars 24 forks source link

Application crash on older versions #40

Open appsoft124 opened 1 year ago

appsoft124 commented 1 year ago

i have build the apk application is working fine but when i open the app in android application getting crash in on start

$ adb shell am start -n "com.whisper.android.tflitecpp/com.whisper.android.tflitecpp.MainActivity" -a android.intent.action.MAIN -c android.intent.category.LAUNCHER Connected to process 25507 on device 'samsung-sm_g920k-192.168.100.62:5555'. Capturing and displaying logcat messages from application. This behavior can be disabled in the "Logcat output" section of the "Debugger" settings page. E/Zygote: v2 I/libpersona: KNOX_SDCARD checking this for 10209 I/libpersona: KNOX_SDCARD not a persona E/Zygote: accessInfo : 0 W/SELinux: SELinux selinux_android_compute_policy_index : Policy Index[2], Con:u:r:zygote:s0 RAM:SEPF_SECMOBILE_7.0_0010, [-1 -1 -1 -1 0 1] I/SELinux: SELinux: seapp_context_lookup: seinfo=untrusted, level=s0:c512,c768, pkgname=com.whisper.android.tflitecpp I/art: Late-enabling -Xcheck:jni D/TimaKeyStoreProvider: TimaKeyStore is not enabled: cannot add TimaSignature Service and generateKeyPair Service D/AndroidRuntime: Shutting down VM E/AndroidRuntime: FATAL EXCEPTION: main Process: com.whisper.android.tflitecpp, PID: 25507 java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "strtod_l" referenced by "/data/app/com.whisper.android.tflitecpp-1/base.apk!/lib/arm64-v8a/libtensorflowlite.so"... at java.lang.Runtime.loadLibrary0(Runtime.java:977) at java.lang.System.loadLibrary(System.java:1567) at com.whisper.android.tflitecpp.MainActivity.(MainActivity.java:59) at java.lang.Class.newInstance(Native Method) at android.app.Instrumentation.newActivity(Instrumentation.java:1086) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2809) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2988) at android.app.ActivityThread.-wrap14(ActivityThread.java) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1631) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:154) at android.app.ActivityThread.main(ActivityThread.java:6682) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1520) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1410)