DeviceId和3001问题
哈哈的我的哈哈 发布于2017-12 浏览:1892 回复:1
0
收藏
快速回复

Caused by: java.lang.ClassNotFoundException: Didn't find class "com.baidu.android.common.util.DeviceId" on path: DexPathList[[zip file "/data/app/syway.txxs.com.syway-2/base.apk"],nativeLibraryDirectories=[/data/app/syway.txxs.com.syway-2/lib/arm64, /data/app/syway.txxs.com.syway-2/base.apk!/lib/arm64-v8a, /vendor/lib64, /system/lib64]]

26341-26341/syway.txxs.com.syway W/System.err: Caused by: java.lang.NoClassDefFoundError: Class not found using the boot class loader; no stack trace available
12-26 09:53:59.812 26341-30953/syway.txxs.com.syway E/ASREngine: EVoiceRecognitionClientWorkStatusError errorDomain : 0 errorCode : 3001 desc : Recorder open failed, your infile not found or can't read mLastRecognitionResult:

jar用的是bdasr_V3_20171108_9800a2a.jar,找了找发现里边根本就没有com.baidu.android.common.util.DeviceId这个而是com.baidu.speech.utils.DeviceId,这个问题怎么解决

收藏
点赞
0
个赞
共1条回复 最后由用户已被禁言回复于2022-04
#2fujiayi1984回复于2017-12

请测试下demo,不要急于集成。

DeviceId错误忽略即可,不影响使用

0
TOP
切换版块