我使用的服务是:语音识别
参数设置情况:
开发平台和机型:小米5
SDK版本号:2.1.21
代码或日志截图(上传截图能帮助您更快解决问题):
08-20 01:04:31.097 7319-7319/com.qingdie.qdwit D/Qdwit: ----准备就绪,可以开始说话
08-20 01:04:32.995 7319-7319/com.qingdie.qdwit D/Qdwit: ----检测到用户的已经开始说话
08-20 01:04:33.023 7319-11331/com.qingdie.qdwit W/System.err: java.net.UnknownHostException: Unable to resolve host "vop.baidu.com": No address associated with hostname
08-20 01:04:33.023 7319-11331/com.qingdie.qdwit W/System.err: at java.net.Inet6AddressImpl.lookupHostByName(Inet6AddressImpl.java:125)
08-20 01:04:33.024 7319-11331/com.qingdie.qdwit W/System.err: at java.net.Inet6AddressImpl.lookupAllHostAddr(Inet6AddressImpl.java:74)
08-20 01:04:33.024 7319-11331/com.qingdie.qdwit W/System.err: at java.net.InetAddress.getByName(InetAddress.java:708)
08-20 01:04:33.024 7319-11331/com.qingdie.qdwit W/System.err: at com.baidu.speech.EventManagerDec$1.run(EventManagerDec.java:450)
08-20 01:04:33.024 7319-11331/com.qingdie.qdwit W/System.err: at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:428)
08-20 01:04:33.024 7319-11331/com.qingdie.qdwit W/System.err: at java.util.concurrent.FutureTask.run(FutureTask.java:237)
08-20 01:04:33.024 7319-11331/com.qingdie.qdwit W/System.err: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)
08-20 01:04:33.024 7319-11331/com.qingdie.qdwit W/System.err: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)
08-20 01:04:33.024 7319-11331/com.qingdie.qdwit W/System.err: at java.lang.Thread.run(Thread.java:761)
08-20 01:04:33.024 7319-11331/com.qingdie.qdwit W/System.err: Caused by: android.system.GaiException: android_getaddrinfo failed: EAI_NODATA (No address associated with hostname)
08-20 01:04:33.024 7319-11331/com.qingdie.qdwit W/System.err: at libcore.io.Posix.android_getaddrinfo(Native Method)
08-20 01:04:33.025 7319-11331/com.qingdie.qdwit W/System.err: at libcore.io.ForwardingOs.android_getaddrinfo(ForwardingOs.java:55)
08-20 01:04:33.025 7319-11331/com.qingdie.qdwit W/System.err: at java.net.Inet6AddressImpl.lookupHostByName(Inet6AddressImpl.java:106)
08-20 01:04:33.025 7319-11331/com.qingdie.qdwit W/System.err: ... 8 more
08-20 01:04:33.041 7319-11331/com.qingdie.qdwit W/System.err: java.net.UnknownHostException: Unable to resolve host "vop.baidu.com": No address associated with hostname
08-20 01:04:33.041 7319-11331/com.qingdie.qdwit W/System.err: at java.net.Inet6AddressImpl.lookupHostByName(Inet6AddressImpl.java:95)
08-20 01:04:33.041 7319-11331/com.qingdie.qdwit W/System.err: at java.net.Inet6AddressImpl.lookupAllHostAddr(Inet6AddressImpl.java:74)
08-20 01:04:33.041 7319-11331/com.qingdie.qdwit W/System.err: at java.net.InetAddress.getByName(InetAddress.java:708)
08-20 01:04:33.041 7319-11331/com.qingdie.qdwit W/System.err: at com.baidu.speech.EventManagerDec$1.run(EventManagerDec.java:450)
08-20 01:04:33.042 7319-11331/com.qingdie.qdwit W/System.err: at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:428)
08-20 01:04:33.042 7319-11331/com.qingdie.qdwit W/System.err: at java.util.concurrent.FutureTask.run(FutureTask.java:237)
08-20 01:04:33.042 7319-11331/com.qingdie.qdwit W/System.err: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)
08-20 01:04:33.042 7319-11331/com.qingdie.qdwit W/System.err: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)
08-20 01:04:33.042 7319-11331/com.qingdie.qdwit W/System.err: at java.lang.Thread.run(Thread.java:761)
08-20 01:04:33.057 7319-11331/com.qingdie.qdwit W/System.err: java.net.UnknownHostException: Unable to resolve host "vop.baidu.com": No address associated with hostname
08-20 01:04:33.058 7319-11331/com.qingdie.qdwit W/System.err: at java.net.Inet6AddressImpl.lookupHostByName(Inet6AddressImpl.java:95)
08-20 01:04:33.058 7319-11331/com.qingdie.qdwit W/System.err: at java.net.Inet6AddressImpl.lookupAllHostAddr(Inet6AddressImpl.java:74)
08-20 01:04:33.058 7319-11331/com.qingdie.qdwit W/System.err: at java.net.InetAddress.getByName(InetAddress.java:708)
08-20 01:04:33.058 7319-11331/com.qingdie.qdwit W/System.err: at com.baidu.speech.EventManagerDec$1.run(EventManagerDec.java:450)
08-20 01:04:33.058 7319-11331/com.qingdie.qdwit W/System.err: at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:428)
08-20 01:04:33.058 7319-11331/com.qingdie.qdwit W/System.err: at java.util.concurrent.FutureTask.run(FutureTask.java:237)
08-20 01:04:33.058 7319-11331/com.qingdie.qdwit W/System.err: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)
08-20 01:04:33.058 7319-11331/com.qingdie.qdwit W/System.err: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)
08-20 01:04:33.058 7319-11331/com.qingdie.qdwit W/System.err: at java.lang.Thread.run(Thread.java:761)
08-20 01:04:33.073 7319-11331/com.qingdie.qdwit W/System.err: java.net.UnknownHostException: Unable to resolve host "vop.baidu.com": No address associated with hostname
08-20 01:04:33.074 7319-11331/com.qingdie.qdwit W/System.err: at java.net.Inet6AddressImpl.lookupHostByName(Inet6AddressImpl.java:95)
08-20 01:04:33.074 7319-11331/com.qingdie.qdwit W/System.err: at java.net.Inet6AddressImpl.lookupAllHostAddr(Inet6AddressImpl.java:74)
08-20 01:04:33.074 7319-11331/com.qingdie.qdwit W/System.err: at java.net.InetAddress.getByName(InetAddress.java:708)
08-20 01:04:33.074 7319-11331/com.qingdie.qdwit W/System.err: at com.baidu.speech.EventManagerDec$1.run(EventManagerDec.java:450)
08-20 01:04:33.074 7319-11331/com.qingdie.qdwit W/System.err: at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:428)
08-20 01:04:33.074 7319-11331/com.qingdie.qdwit W/System.err: at java.util.concurrent.FutureTask.run(FutureTask.java:237)
08-20 01:04:33.074 7319-11331/com.qingdie.qdwit W/System.err: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)
08-20 01:04:33.074 7319-11331/com.qingdie.qdwit W/System.err: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)
08-20 01:04:33.074 7319-11331/com.qingdie.qdwit W/System.err: at java.lang.Thread.run(Thread.java:761)
08-20 01:04:33.089 7319-11331/com.qingdie.qdwit W/System.err: java.net.UnknownHostException: Unable to resolve host "vop.baidu.com": No address associated with hostname
08-20 01:04:33.089 7319-11331/com.qingdie.qdwit W/System.err: at java.net.Inet6AddressImpl.lookupHostByName(Inet6AddressImpl.java:95)
08-20 01:04:33.089 7319-11331/com.qingdie.qdwit W/System.err: at java.net.Inet6AddressImpl.lookupAllHostAddr(Inet6AddressImpl.java:74)
08-20 01:04:33.089 7319-11331/com.qingdie.qdwit W/System.err: at java.net.InetAddress.getByName(InetAddress.java:708)
08-20 01:04:33.090 7319-11331/com.qingdie.qdwit W/System.err: at com.baidu.speech.EventManagerDec$1.run(EventManagerDec.java:450)
08-20 01:04:33.090 7319-11331/com.qingdie.qdwit W/System.err: at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:428)
08-20 01:04:33.090 7319-11331/com.qingdie.qdwit W/System.err: at java.util.concurrent.FutureTask.run(FutureTask.java:237)
08-20 01:04:33.090 7319-11331/com.qingdie.qdwit W/System.err: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)
08-20 01:04:33.090 7319-11331/com.qingdie.qdwit W/System.err: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)
08-20 01:04:33.090 7319-11331/com.qingdie.qdwit W/System.err: at java.lang.Thread.run(Thread.java:761)
08-20 01:04:33.105 7319-11331/com.qingdie.qdwit W/System.err: java.net.UnknownHostException: Unable to resolve host "vop.baidu.com": No address associated with hostname
08-20 01:04:33.106 7319-11331/com.qingdie.qdwit W/System.err: at java.net.Inet6AddressImpl.lookupHostByName(Inet6AddressImpl.java:95)
08-20 01:04:33.106 7319-11331/com.qingdie.qdwit W/System.err: at java.net.Inet6AddressImpl.lookupAllHostAddr(Inet6AddressImpl.java:74)
08-20 01:04:33.106 7319-11331/com.qingdie.qdwit W/System.err: at java.net.InetAddress.getByName(InetAddress.java:708)
08-20 01:04:33.106 7319-11331/com.qingdie.qdwit W/System.err: at com.baidu.speech.EventManagerDec$1.run(EventManagerDec.java:450)
08-20 01:04:33.106 7319-11331/com.qingdie.qdwit W/System.err: at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:428)
08-20 01:04:33.106 7319-11331/com.qingdie.qdwit W/System.err: at java.util.concurrent.FutureTask.run(FutureTask.java:237)
08-20 01:04:33.106 7319-11331/com.qingdie.qdwit W/System.err: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)
08-20 01:04:33.106 7319-11331/com.qingdie.qdwit W/System.err: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)
08-20 01:04:33.106 7319-11331/com.qingdie.qdwit W/System.err: at java.lang.Thread.run(Thread.java:761)
08-20 01:04:33.137 7319-7378/com.qingdie.qdwit E/ExtMediaPlayer-JNI: env->IsInstanceOf fails
08-20 01:04:33.137 7319-7378/com.qingdie.qdwit E/MediaPlayer-JNI: JNIMediaPlayerFactory: bIsQCMediaPlayerPresent 0
08-20 01:04:33.137 7319-7378/com.qingdie.qdwit E/ExtMediaPlayer-JNI: env->IsInstanceOf fails
08-20 01:04:33.137 7319-7378/com.qingdie.qdwit E/MediaPlayer-JNI: JNIMediaPlayerFactory: bIsQCMediaPlayerPresent 0
08-20 01:04:33.153 7319-7378/com.qingdie.qdwit D/MediaPlayer: setSubtitleAnchor in MediaPlayer
08-20 01:04:33.160 7319-11305/com.qingdie.qdwit I/MicrophoneInputStream: close(), sUsingCount=1, sInnerSourceInputStream=com.baidu.speech.MicrophoneInputStream$InnerSourceInputStream@49ca960
08-20 01:04:33.164 7319-7319/com.qingdie.qdwit D/Qdwit: ----识别失败:网络问题:2
08-20 01:04:33.231 7319-7377/com.qingdie.qdwit W/AudioTrack: releaseBuffer() track 0x7f7d393100 disabled due to previous underrun, restarting
2个情况:
1.网络通畅可以正常识别,把网络断开就是这样的错误,我说配置好的离线话也无法识别,没有启用离线识别,
2.断网状态打开app,启动识别就是直接报错,没有识别结果,错误码是7
倾心映蝶:
我使用的服务是:语音识别
参数设置情况:
开发平台和机型:小米5
SDK版本号:2.1.21
代码或日志截图(上传截图能帮助您更快解决问题):
08-20 01:04:31.097 7319-7319/com.qingdie.qdwit D/Qdwit: ----准备就绪,可以开始说话
08-20 01:04:32.995 7319-7319/com.qingdie.qdwit D/Qdwit: ----检测到用户的已经开始说话
08-20 01:04:33.023 7319-11331/com.qingdie.qdwit W/System.err: java.net.UnknownHostException: Unable to resolve host "vop.baidu.com": No address associated with hostname
08-20 01:04:33.023 7319-11331/com.qingdie.qdwit W/System.err: at java.net.Inet6AddressImpl.lookupHostByName(Inet6AddressImpl.java:125)
08-20 01:04:33.024 7319-11331/com.qingdie.qdwit W/System.err: at java.net.Inet6AddressImpl.lookupAllHostAddr(Inet6AddressImpl.java:74)
08-20 01:04:33.024 7319-11331/com.qingdie.qdwit W/System.err: at java.net.InetAddress.getByName(InetAddress.java:708)
08-20 01:04:33.024 7319-11331/com.qingdie.qdwit W/System.err: at com.baidu.speech.EventManagerDec$1.run(EventManagerDec.java:450)
08-20 01:04:33.024 7319-11331/com.qingdie.qdwit W/System.err: at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:428)
08-20 01:04:33.024 7319-11331/com.qingdie.qdwit W/System.err: at java.util.concurrent.FutureTask.run(FutureTask.java:237)
08-20 01:04:33.024 7319-11331/com.qingdie.qdwit W/System.err: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)
08-20 01:04:33.024 7319-11331/com.qingdie.qdwit W/System.err: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)
08-20 01:04:33.024 7319-11331/com.qingdie.qdwit W/System.err: at java.lang.Thread.run(Thread.java:761)
08-20 01:04:33.024 7319-11331/com.qingdie.qdwit W/System.err: Caused by: android.system.GaiException: android_getaddrinfo failed: EAI_NODATA (No address associated with hostname)
08-20 01:04:33.024 7319-11331/com.qingdie.qdwit W/System.err: at libcore.io.Posix.android_getaddrinfo(Native Method)
08-20 01:04:33.025 7319-11331/com.qingdie.qdwit W/System.err: at libcore.io.ForwardingOs.android_getaddrinfo(ForwardingOs.java:55)
08-20 01:04:33.025 7319-11331/com.qingdie.qdwit W/System.err: at java.net.Inet6AddressImpl.lookupHostByName(Inet6AddressImpl.java:106)
08-20 01:04:33.025 7319-11331/com.qingdie.qdwit W/System.err: ... 8 more
08-20 01:04:33.041 7319-11331/com.qingdie.qdwit W/System.err: java.net.UnknownHostException: Unable to resolve host "vop.baidu.com": No address associated with hostname
08-20 01:04:33.041 7319-11331/com.qingdie.qdwit W/System.err: at java.net.Inet6AddressImpl.lookupHostByName(Inet6AddressImpl.java:95)
08-20 01:04:33.041 7319-11331/com.qingdie.qdwit W/System.err: at java.net.Inet6AddressImpl.lookupAllHostAddr(Inet6AddressImpl.java:74)
08-20 01:04:33.041 7319-11331/com.qingdie.qdwit W/System.err: at java.net.InetAddress.getByName(InetAddress.java:708)
08-20 01:04:33.041 7319-11331/com.qingdie.qdwit W/System.err: at com.baidu.speech.EventManagerDec$1.run(EventManagerDec.java:450)
08-20 01:04:33.042 7319-11331/com.qingdie.qdwit W/System.err: at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:428)
08-20 01:04:33.042 7319-11331/com.qingdie.qdwit W/System.err: at java.util.concurrent.FutureTask.run(FutureTask.java:237)
08-20 01:04:33.042 7319-11331/com.qingdie.qdwit W/System.err: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)
08-20 01:04:33.042 7319-11331/com.qingdie.qdwit W/System.err: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)
08-20 01:04:33.042 7319-11331/com.qingdie.qdwit W/System.err: at java.lang.Thread.run(Thread.java:761)
08-20 01:04:33.057 7319-11331/com.qingdie.qdwit W/System.err: java.net.UnknownHostException: Unable to resolve host "vop.baidu.com": No address associated with hostname
08-20 01:04:33.058 7319-11331/com.qingdie.qdwit W/System.err: at java.net.Inet6AddressImpl.lookupHostByName(Inet6AddressImpl.java:95)
08-20 01:04:33.058 7319-11331/com.qingdie.qdwit W/System.err: at java.net.Inet6AddressImpl.lookupAllHostAddr(Inet6AddressImpl.java:74)
08-20 01:04:33.058 7319-11331/com.qingdie.qdwit W/System.err: at java.net.InetAddress.getByName(InetAddress.java:708)
08-20 01:04:33.058 7319-11331/com.qingdie.qdwit W/System.err: at com.baidu.speech.EventManagerDec$1.run(EventManagerDec.java:450)
08-20 01:04:33.058 7319-11331/com.qingdie.qdwit W/System.err: at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:428)
08-20 01:04:33.058 7319-11331/com.qingdie.qdwit W/System.err: at java.util.concurrent.FutureTask.run(FutureTask.java:237)
08-20 01:04:33.058 7319-11331/com.qingdie.qdwit W/System.err: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)
08-20 01:04:33.058 7319-11331/com.qingdie.qdwit W/System.err: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)
08-20 01:04:33.058 7319-11331/com.qingdie.qdwit W/System.err: at java.lang.Thread.run(Thread.java:761)
08-20 01:04:33.073 7319-11331/com.qingdie.qdwit W/System.err: java.net.UnknownHostException: Unable to resolve host "vop.baidu.com": No address associated with hostname
08-20 01:04:33.074 7319-11331/com.qingdie.qdwit W/System.err: at java.net.Inet6AddressImpl.lookupHostByName(Inet6AddressImpl.java:95)
08-20 01:04:33.074 7319-11331/com.qingdie.qdwit W/System.err: at java.net.Inet6AddressImpl.lookupAllHostAddr(Inet6AddressImpl.java:74)
08-20 01:04:33.074 7319-11331/com.qingdie.qdwit W/System.err: at java.net.InetAddress.getByName(InetAddress.java:708)
08-20 01:04:33.074 7319-11331/com.qingdie.qdwit W/System.err: at com.baidu.speech.EventManagerDec$1.run(EventManagerDec.java:450)
08-20 01:04:33.074 7319-11331/com.qingdie.qdwit W/System.err: at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:428)
08-20 01:04:33.074 7319-11331/com.qingdie.qdwit W/System.err: at java.util.concurrent.FutureTask.run(FutureTask.java:237)
08-20 01:04:33.074 7319-11331/com.qingdie.qdwit W/System.err: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)
08-20 01:04:33.074 7319-11331/com.qingdie.qdwit W/System.err: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)
08-20 01:04:33.074 7319-11331/com.qingdie.qdwit W/System.err: at java.lang.Thread.run(Thread.java:761)
08-20 01:04:33.089 7319-11331/com.qingdie.qdwit W/System.err: java.net.UnknownHostException: Unable to resolve host "vop.baidu.com": No address associated with hostname
08-20 01:04:33.089 7319-11331/com.qingdie.qdwit W/System.err: at java.net.Inet6AddressImpl.lookupHostByName(Inet6AddressImpl.java:95)
08-20 01:04:33.089 7319-11331/com.qingdie.qdwit W/System.err: at java.net.Inet6AddressImpl.lookupAllHostAddr(Inet6AddressImpl.java:74)
08-20 01:04:33.089 7319-11331/com.qingdie.qdwit W/System.err: at java.net.InetAddress.getByName(InetAddress.java:708)
08-20 01:04:33.090 7319-11331/com.qingdie.qdwit W/System.err: at com.baidu.speech.EventManagerDec$1.run(EventManagerDec.java:450)
08-20 01:04:33.090 7319-11331/com.qingdie.qdwit W/System.err: at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:428)
08-20 01:04:33.090 7319-11331/com.qingdie.qdwit W/System.err: at java.util.concurrent.FutureTask.run(FutureTask.java:237)
08-20 01:04:33.090 7319-11331/com.qingdie.qdwit W/System.err: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)
08-20 01:04:33.090 7319-11331/com.qingdie.qdwit W/System.err: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)
08-20 01:04:33.090 7319-11331/com.qingdie.qdwit W/System.err: at java.lang.Thread.run(Thread.java:761)
08-20 01:04:33.105 7319-11331/com.qingdie.qdwit W/System.err: java.net.UnknownHostException: Unable to resolve host "vop.baidu.com": No address associated with hostname
08-20 01:04:33.106 7319-11331/com.qingdie.qdwit W/System.err: at java.net.Inet6AddressImpl.lookupHostByName(Inet6AddressImpl.java:95)
08-20 01:04:33.106 7319-11331/com.qingdie.qdwit W/System.err: at java.net.Inet6AddressImpl.lookupAllHostAddr(Inet6AddressImpl.java:74)
08-20 01:04:33.106 7319-11331/com.qingdie.qdwit W/System.err: at java.net.InetAddress.getByName(InetAddress.java:708)
08-20 01:04:33.106 7319-11331/com.qingdie.qdwit W/System.err: at com.baidu.speech.EventManagerDec$1.run(EventManagerDec.java:450)
08-20 01:04:33.106 7319-11331/com.qingdie.qdwit W/System.err: at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:428)
08-20 01:04:33.106 7319-11331/com.qingdie.qdwit W/System.err: at java.util.concurrent.FutureTask.run(FutureTask.java:237)
08-20 01:04:33.106 7319-11331/com.qingdie.qdwit W/System.err: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)
08-20 01:04:33.106 7319-11331/com.qingdie.qdwit W/System.err: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)
08-20 01:04:33.106 7319-11331/com.qingdie.qdwit W/System.err: at java.lang.Thread.run(Thread.java:761)
08-20 01:04:33.137 7319-7378/com.qingdie.qdwit E/ExtMediaPlayer-JNI: env->IsInstanceOf fails
08-20 01:04:33.137 7319-7378/com.qingdie.qdwit E/MediaPlayer-JNI: JNIMediaPlayerFactory: bIsQCMediaPlayerPresent 0
08-20 01:04:33.137 7319-7378/com.qingdie.qdwit E/ExtMediaPlayer-JNI: env->IsInstanceOf fails
08-20 01:04:33.137 7319-7378/com.qingdie.qdwit E/MediaPlayer-JNI: JNIMediaPlayerFactory: bIsQCMediaPlayerPresent 0
08-20 01:04:33.153 7319-7378/com.qingdie.qdwit D/MediaPlayer: setSubtitleAnchor in MediaPlayer
08-20 01:04:33.160 7319-11305/com.qingdie.qdwit I/MicrophoneInputStream: close(), sUsingCount=1, sInnerSourceInputStream=com.baidu.speech.MicrophoneInputStream$InnerSourceInputStream@49ca960
08-20 01:04:33.164 7319-7319/com.qingdie.qdwit D/Qdwit: ----识别失败:网络问题:2
08-20 01:04:33.231 7319-7377/com.qingdie.qdwit W/AudioTrack: releaseBuffer() track 0x7f7d393100 disabled due to previous underrun, restarting
2个情况:
1.网络通畅可以正常识别,把网络断开就是这样的错误,我说配置好的离线话也无法识别,没有启用离线识别,
2.断网状态打开app,启动识别就是直接报错,没有识别结果,错误码是7
回复倾心映蝶:目前没有任意词的离线识别功能