最后编辑于2022-04
- 测试机:三星note4,安卓6.0.1
- Demo可以运行
- Manifest文件已修改,id, key, secret都添加在了application里面;有权限
- lib文件已添加
- jniLibs文件已添加
- proguard文件已修改
- gradle包名在云端已注册
W/AutoCheckMessage: 【识别】集成自动排查工具: 恭喜没有检测到任何问题
...
I/BDSHttpRequestMaker: url = http://vop.baidu.com/v2/up?sn=f48b096e-83b8-4fc1-b14a-20d96dd9fac5 &b6060a2,
D/BDSHttpRequestMaker: url: http://vop.baidu.com/v2/up?sn=f48b096e-83b8-4fc1-b14a-20d96dd9fac5 mHostIp: vop.baidu.com &b6060a2,
I/BDSHttpRequestMaker: url = http://vop.baidu.com/v2/down?sn=f48b096e-83b8-4fc1-b14a-20d96dd9fac5 &3092cf0,
D/BDSHttpRequestMaker: url: http://vop.baidu.com/v2/down?sn=f48b096e-83b8-4fc1-b14a-20d96dd9fac5 mHostIp: vop.baidu.com &3092cf0,
I/BDSHttpRequestMaker: AudioData : mType = 3 | mIsLast = true | mData = 5 &3092cf0,
I/BDSHttpRequestMaker: DownloadThread mData[0] = 1 &3092cf0,
I/BDSHttpRequestMaker: DownloadThread mData[1] = 0 &3092cf0,
I/BDSHttpRequestMaker: DownloadThread mData[2] = 0 &3092cf0,
I/BDSHttpRequestMaker: DownloadThread mData[3] = 0 &3092cf0,
I/BDSHttpRequestMaker: DownloadThread mData[4] = 3 &3092cf0,
I/BDSHttpRequestMaker: sendData dataType : 0 http://vop.baidu.com/v2/up?sn=f48b096e-83b8-4fc1-b14a-20d96dd9fac5 &b6060a2,
I/BDSHttpRequestMaker: readData dataType : 244 http://vop.baidu.com/v2/down?sn=f48b096e-83b8-4fc1-b14a-20d96dd9fac5 &3092cf0,
I/BDSHttpRequestMaker: readData dataType : 241 http://vop.baidu.com/v2/down?sn=f48b096e-83b8-4fc1-b14a-20d96dd9fac5 &3092cf0,
I/BDSHttpRequestMaker: response : {"err_msg":"asr authentication operation failed","err_no":-3004,"sn":"f48b096e-83b8-4fc1-b14a-20d96dd9fac5"}
...
E/ASREngine: EVoiceRecognitionClientWorkStatusError errorDomain : 33 errorCode : -3004 desc : Server app name unknown. mLastRecognitionResult:
3004 代表授权失败?但是AutoCheck返回的JSON里面的确有audio_voice_assistant_get,表示具有语音识别功能
请问有任何解决思路吗?
收藏
点赞
0
个赞
请登录后评论
TOP
切换版块
感谢回复呢,回去也试下
最后发现问题是PID的数错了,跟授权没有什么关系
讲你的鉴权信息填入demo中,测试下