首页 版块 访问AI主站 注册 发帖
D佬甲A
25
积分 积分商城
0
获赞
语音识别一直崩溃
Ta的回复 :c5812: 您好,我怀疑是so集成问题,请确保libs下只集成armeabi一个目录 回复c5812:您好,我是只集成armeabi一个目录,华为手机上也不好使了!看log好像没找到.so文件,请您帮看一下!谢谢您的回复支持! 12-26 22:43:58.303 17888-17888/? W/System.err: java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/com.indetravel.lvcheng-1/base.apk"],nativeLibraryDirectories=[/data/app/com.indetravel.lvcheng-1/lib/arm, /data/app/com.indetravel.lvcheng-1/base.apk!/lib/armeabi-v7a, /vendor/lib, /system/lib]]] couldn't find "libBDSpeechDecoder_V1.so" 12-26 22:43:58.304 17888-17888/? W/System.err:     at java.lang.Runtime.loadLibrary(Runtime.java:379) 12-26 22:43:58.304 17888-17888/? W/System.err:     at java.lang.System.loadLibrary(System.java:1086) 12-26 22:43:58.304 17888-17888/? W/System.err:     at com.baidu.speech.core.BDSSDKLoader.<clinit>(BDSSDKLoader.java:33) 12-26 22:43:58.304 17888-17888/? W/System.err:     at com.baidu.speech.asr.AsrControl.<init>(AsrControl.java:157) 12-26 22:43:58.304 17888-17888/? W/System.err:     at com.baidu.speech.asr.EventManagerAsr.<init>(EventManagerAsr.java:30) 12-26 22:43:58.304 17888-17888/? W/System.err:     at com.baidu.speech.EventManagerFactory.create(EventManagerFactory.java:17) 12-26 22:43:58.304 17888-17888/? W/System.err:     at com.baidu.speech.VoiceRecognitionService.onCreate(VoiceRecognitionService.java:58) 12-26 22:43:58.304 17888-17888/? W/System.err:     at android.app.ActivityThread.handleCreateService(ActivityThread.java:2940) 12-26 22:43:58.304 17888-17888/? W/System.err:     at android.app.ActivityThread.access$1900(ActivityThread.java:168) 12-26 22:43:58.304 17888-17888/? W/System.err:     at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1462) 12-26 22:43:58.304 17888-17888/? W/System.err:     at android.os.Handler.dispatchMessage(Handler.java:102) 12-26 22:43:58.304 17888-17888/? W/System.err:     at android.os.Looper.loop(Looper.java:150) 12-26 22:43:58.304 17888-17888/? W/System.err:     at android.app.ActivityThread.main(ActivityThread.java:5665) 12-26 22:43:58.304 17888-17888/? W/System.err:     at java.lang.reflect.Method.invoke(Native Method) 12-26 22:43:58.304 17888-17888/? W/System.err:     at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:799) 12-26 22:43:58.304 17888-17888/? W/System.err:     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:689) 12-26 22:43:58.305 17888-17888/? W/System.err: java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/com.indetravel.lvcheng-1/base.apk"],nativeLibraryDirectories=[/data/app/com.indetravel.lvcheng-1/lib/arm, /data/app/com.indetravel.lvcheng-1/base.apk!/lib/armeabi-v7a, /vendor/lib, /system/lib]]] couldn't find "libbd_etts.so" 12-26 22:43:58.305 17888-17888/? W/System.err:     at java.lang.Runtime.loadLibrary(Runtime.java:379) 12-26 22:43:58.305 17888-17888/? W/System.err:     at java.lang.System.loadLibrary(System.java:1086) 12-26 22:43:58.305 17888-17888/? W/System.err:     at com.baidu.speech.core.BDSSDKLoader.<clinit>(BDSSDKLoader.java:38) 12-26 22:43:58.305 17888-17888/? W/System.err:     at com.baidu.speech.asr.AsrControl.<init>(AsrControl.java:157) 12-26 22:43:58.305 17888-17888/? W/System.err:     at com.baidu.speech.asr.EventManagerAsr.<init>(EventManagerAsr.java:30) 12-26 22:43:58.305 17888-17888/? W/System.err:     at com.baidu.speech.EventManagerFactory.create(EventManagerFactory.java:17) 12-26 22:43:58.305 17888-17888/? W/System.err:     at com.baidu.speech.VoiceRecognitionService.onCreate(VoiceRecognitionService.java:58) 12-26 22:43:58.305 17888-17888/? W/System.err:     at android.app.ActivityThread.handleCreateService(ActivityThread.java:2940) 12-26 22:43:58.305 17888-17888/? W/System.err:     at android.app.ActivityThread.access$1900(ActivityThread.java:168) 12-26 22:43:58.305 17888-17888/? W/System.err:     at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1462) 12-26 22:43:58.305 17888-17888/? W/System.err:     at android.os.Handler.dispatchMessage(Handler.java:102) 12-26 22:43:58.305 17888-17888/? W/System.err:     at android.os.Looper.loop(Looper.java:150) 12-26 22:43:58.305 17888-17888/? W/System.err:     at android.app.ActivityThread.main(ActivityThread.java:5665) 12-26 22:43:58.305 17888-17888/? W/System.err:     at java.lang.reflect.Method.invoke(Native Method) 12-26 22:43:58.305 17888-17888/? W/System.err:     at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:799) 12-26 22:43:58.305 17888-17888/? W/System.err:     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:689) 12-26 22:43:58.306 17888-17888/? W/System.err: java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/com.indetravel.lvcheng-1/base.apk"],nativeLibraryDirectories=[/data/app/com.indetravel.lvcheng-1/lib/arm, /data/app/com.indetravel.lvcheng-1/base.apk!/lib/armeabi-v7a, /vendor/lib, /system/lib]]] couldn't find "libbdEASRAndroid.so" 12-26 22:43:58.306 17888-17888/? W/System.err:     at java.lang.Runtime.loadLibrary(Runtime.java:379) 12-26 22:43:58.307 17888-17888/? W/System.err:     at java.lang.System.loadLibrary(System.java:1086) 12-26 22:43:58.307 17888-17888/? W/System.err:     at com.baidu.speech.core.BDSSDKLoader.<clinit>(BDSSDKLoader.java:43) 12-26 22:43:58.307 17888-17888/? W/System.err:     at com.baidu.speech.asr.AsrControl.<init>(AsrControl.java:157) 12-26 22:43:58.307 17888-17888/? W/System.err:     at com.baidu.speech.asr.EventManagerAsr.<init>(EventManagerAsr.java:30) 12-26 22:43:58.307 17888-17888/? W/System.err:     at com.baidu.speech.EventManagerFactory.create(EventManagerFactory.java:17) 12-26 22:43:58.307 17888-17888/? W/System.err:     at com.baidu.speech.VoiceRecognitionService.onCreate(VoiceRecognitionService.java:58) 12-26 22:43:58.307 17888-17888/? W/System.err:     at android.app.ActivityThread.handleCreateService(ActivityThread.java:2940) 12-26 22:43:58.307 17888-17888/? W/System.err:     at android.app.ActivityThread.access$1900(ActivityThread.java:168) 12-26 22:43:58.307 17888-17888/? W/System.err:     at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1462) 12-26 22:43:58.307 17888-17888/? W/System.err:     at android.os.Handler.dispatchMessage(Handler.java:102) 12-26 22:43:58.307 17888-17888/? W/System.err:     at android.os.Looper.loop(Looper.java:150) 12-26 22:43:58.307 17888-17888/? W/System.err:     at android.app.ActivityThread.main(ActivityThread.java:5665) 12-26 22:43:58.307 17888-17888/? W/System.err:     at java.lang.reflect.Method.invoke(Native Method) 12-26 22:43:58.307 17888-17888/? W/System.err:     at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:799) 12-26 22:43:58.307 17888-17888/? W/System.err:     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:689) 12-26 22:43:58.308 17888-17888/? W/System.err: java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/com.indetravel.lvcheng-1/base.apk"],nativeLibraryDirectories=[/data/app/com.indetravel.lvcheng-1/lib/arm, /data/app/com.indetravel.lvcheng-1/base.apk!/lib/armeabi-v7a, /vendor/lib, /system/lib]]] couldn't find "libBaiduSpeechSDK.so" 12-26 22:43:58.308 17888-17888/? W/System.err:     at java.lang.Runtime.loadLibrary(Runtime.java:379) 12-26 22:43:58.308 17888-17888/? W/System.err:     at java.lang.System.loadLibrary(System.java:1086) 12-26 22:43:58.308 17888-17888/? W/System.err:     at com.baidu.speech.core.BDSSDKLoader.<clinit>(BDSSDKLoader.java:48) 12-26 22:43:58.308 17888-17888/? W/System.err:     at com.baidu.speech.asr.AsrControl.<init>(AsrControl.java:157) 12-26 22:43:58.308 17888-17888/? W/System.err:     at com.baidu.speech.asr.EventManagerAsr.<init>(EventManagerAsr.java:30) 12-26 22:43:58.308 17888-17888/? W/System.err:     at com.baidu.speech.EventManagerFactory.create(EventManagerFactory.java:17) 12-26 22:43:58.308 17888-17888/? W/System.err:     at com.baidu.speech.VoiceRecognitionService.onCreate(VoiceRecognitionService.java:58) 12-26 22:43:58.308 17888-17888/? W/System.err:     at android.app.ActivityThread.handleCreateService(ActivityThread.java:2940) 12-26 22:43:58.308 17888-17888/? W/System.err:     at android.app.ActivityThread.access$1900(ActivityThread.java:168) 12-26 22:43:58.308 17888-17888/? W/System.err:     at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1462) 12-26 22:43:58.308 17888-17888/? W/System.err:     at android.os.Handler.dispatchMessage(Handler.java:102) 12-26 22:43:58.308 17888-17888/? W/System.err:     at android.os.Looper.loop(Looper.java:150) 12-26 22:43:58.308 17888-17888/? W/System.err:     at android.app.ActivityThread.main(ActivityThread.java:5665) 12-26 22:43:58.308 17888-17888/? W/System.err:     at java.lang.reflect.Method.invoke(Native Method) 12-26 22:43:58.308 17888-17888/? W/System.err:     at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:799) 12-26 22:43:58.308 17888-17888/? W/System.err:     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:689) 12-26 22:43:58.309 17888-17888/? E/art: No implementation found for void com.baidu.speech.core.BDSSDKLoader.SetLogLevel(int) (tried Java_com_baidu_speech_core_BDSSDKLoader_SetLogLevel and Java_com_baidu_speech_core_BDSSDKLoader_SetLogLevel__I) 12-26 22:43:58.346 17888-18691/? I/System: core_booster, getBoosterConfig = false 12-26 22:43:58.406 17888-18691/? I/System: core_booster, getBoosterConfig = false 12-26 22:43:58.507 967-2010/? I/SendBroadcastPermission: action:android.intent.action.SIG_STR, mPermissionType:0 12-26 22:43:58.510 11046-11249/? I/amsnl: csr 12-26 22:43:58.511 11046-11249/? I/amsnl: t:false, fl: false, p: 2147483647000, ce: true, we: true 12-26 22:43:58.514 11046-11249/? I/amsnl: m1: false 12-26 22:43:58.514 1470-1525/? I/HwMobileSignalController: subId:0 phoneType:1 networktype:13 targetClass:3 masterLevel:2 slaveLevel:-1 12-26 22:43:58.516 11046-11249/? I/amsnl: m2: false, m3: false 12-26 22:43:58.517 11046-11249/? I/amsnl: c: true, w: false, t: false, l: false 12-26 22:43:58.609 967-1315/? I/InputDispatcher: touch process [17888], send to pg 12-26 22:43:58.617 17888-17888/? I/Process: Sending signal. PID: 17888 SIG: 9 12-26 22:43:58.619 2375-2391/? I/PgedBinderListener: kstate callback type:8 value1=17888 value2=KILLED 12-26 22:43:58.628 967-5955/? W/System.err: java.lang.NullPointerException: Attempt to invoke virtual method 'int com.huawei.lcagent.client.LogCollectManager.getUserType()' on a null object reference 12-26 22:43:58.629 967-5955/? W/System.err:     at com.android.server.util.ReportTools.getUserType(ReportTools.java:86) 12-26 22:43:58.629 967-5955/? W/System.err:     at com.android.server.util.ReportTools.isBetaUser(ReportTools.java:73) 12-26 22:43:58.629 967-5955/? W/System.err:     at com.android.server.util.ReportTools.report(ReportTools.java:58) 12-26 22:43:58.629 967-5955/? W/System.err:     at com.android.server.util.HwUserBehaviourRecord.appExitRecordInnerImpl(HwUserBehaviourRecord.java:125) 12-26 22:43:58.629 967-5955/? W/System.err:     at com.android.server.util.HwUserBehaviourRecord.access$200(HwUserBehaviourRecord.java:32) 12-26 22:43:58.629 967-5955/? W/System.err:     at com.android.server.util.HwUserBehaviourRecord$AsyUploadLooperThread$1.handleMessage(HwUserBehaviourRecord.java:255) 12-26 22:43:58.629 967-5955/? W/System.err:     at android.os.Handler.dispatchMessage(Handler.java:102) 12-26 22:43:58.629 967-5955/? W/System.err:     at android.os.Looper.loop(Looper.java:150) 12-26 22:43:58.629 967-5955/? W/System.err:     at com.android.server.util.HwUserBehaviourRecord$AsyUploadLooperThread.run(HwUserBehaviourRecord.java:267)
6
切换版块
智能客服