java.lang.reflect.UndeclaredThrowableException
at $Proxy9.AudioSegFree(Unknown Source)
at com.baidu.speech.EventManagerVadModule.send(EventManagerVadModule.java:168)
at com.baidu.speech.EventManagerVadModule.send(EventManagerVadModule.java:97)
at com.baidu.speech.EventManagerMessagePool$1.run(EventManagerMessagePool.java:46)
at android.os.Handler.handleCallback(Handler.java:743)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:150)
at android.os.HandlerThread.run(HandlerThread.java:61)
Caused by: java.lang.reflect.InvocationTargetException
at java.lang.reflect.Method.invoke(Native Method)
at com.baidu.speech.easr.EasrFactory$2.invoke(EasrFactory.java:188)
at java.lang.reflect.Proxy.invoke(Proxy.java:393)
... 8 more
Caused by: java.lang.UnsatisfiedLinkError: No implementation found for int com.baidu.speech.easr.easrNativeJni.AudioSegFree()
(tried Java_com_baidu_speech_easr_easrNativeJni_AudioSegFree and Java_com_baidu_speech_easr_easrNativeJni_AudioSegFree__)
at com.baidu.speech.easr.easrNativeJni.AudioSegFree(Native Method)
... 11 more
我的Nexus测试机是好用的,我同事的华为
您好,
这个错误确实是缺少对应架构的so造成的,您可以查看打出的最终apk里是否包含了对应架构的so,如果无法确定建议只留armeabi一个架构的so(即libs目录下只留armeabi一个子目录)
定位依据:
Caused by: java.lang.UnsatisfiedLinkError: No implementation found for int com.baidu.speech.easr.easrNativeJni.AudioSegFree()
官方回答真不靠谱!难怪没讯飞好用
您好,这个问题是so没有集成到apk中导致的,请检查配置