语音翻译返回-3015
孤单小糯米 发布于2021-01-06 浏览:437 回复:4
0
收藏

2021-01-06 11:48:50.862 5060-5096/com.example.afinal E/ASREngine: EVoiceRecognitionClientWorkStatusError errorDomain : 33 errorCode : -3015 desc : Server unkown error. mLastRecognitionResult:
2021-01-06 11:48:50.862 5060-5096/com.example.afinal D/ASREngine: generateErrorResult errDomain = 33 errCode = -3015
2021-01-06 11:48:53.509 1885-1929/? W/audio_hw_generic: Not supplying enough data to HAL, expected position 6292433 , only wrote 6132240
2021-01-06 11:48:55.540 5060-5202/com.example.afinal W/System.err: java.net.SocketException: Socket closed
2021-01-06 11:48:55.540 5060-5202/com.example.afinal W/System.err: at java.net.PlainSocketImpl.socketAccept(PlainSocketImpl.java:197)
2021-01-06 11:48:55.540 5060-5202/com.example.afinal W/System.err: at java.net.AbstractPlainSocketImpl.accept(AbstractPlainSocketImpl.java:416)
2021-01-06 11:48:55.540 5060-5202/com.example.afinal W/System.err: at java.net.ServerSocket.implAccept(ServerSocket.java:547)
2021-01-06 11:48:55.541 5060-5202/com.example.afinal W/System.err: at java.net.ServerSocket.accept(ServerSocket.java:515)
2021-01-06 11:48:55.541 5060-5202/com.example.afinal W/System.err: at com.baidu.speech.audio.MicrophoneServer$1.run(Unknown Source:9)
2021-01-06 11:49:00.004 1948-1970/system_process E/memtrack: Couldn't load memtrack module
2021-01-06 11:49:00.005 1948-1970/system_process W/android.os.Debug: failed to get memory consumption info: -1
2021-01-06 11:49:00.034 1440-1477/? D/hwcomposer: hw_composer sent 63 syncs in 60s
2021-01-06 11:49:20.278 1948-2459/system_process D/WificondControl: Scan result ready event
2021-01-06 11:49:41.749 1447-1447/? I/boot-pipe: done populating /dev/random
2021-01-06 11:50:00.006 1440-1477/? D/hwcomposer: hw_composer sent 5 syncs in 60s
2021-01-06 11:50:17.464 1948-5220/system_process D/NetworkMonitor/NetworkAgentInfo [MOBILE (LTE) - 100]: PROBE_DNS connectivitycheck.gstatic.com 22ms OK 203.208.50.34
2021-01-06 11:50:17.468 1948-5219/system_process D/NetworkMonitor/NetworkAgentInfo [MOBILE (LTE) - 100]: PROBE_DNS www.google.com 27ms OK 66.220.158.32,2001::1f0d:5129
2021-01-06 11:50:17.598 1948-5220/system_process D/NetworkMonitor/NetworkAgentInfo [MOBILE (LTE) - 100]: PROBE_HTTP http://connectivitycheck.gstatic.com/generate_204 time=132ms ret=204 request={User-Agent=[Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.82 Safari/537.36]} headers={null=[HTTP/1.1 204 No Content], Content-Length=[0], Date=[Wed, 06 Jan 2021 03:50:18 GMT], X-Android-Received-Millis=[1609905017597], X-Android-Response-Source=[NETWORK 204], X-Android-Selected-Protocol=[http/1.1], X-Android-Sent-Millis=[1609905017512]}
2021-01-06 11:50:30.468 1948-2569/system_process D/NetworkMonitor/NetworkAgentInfo [MOBILE (LTE) - 100]: PROBE_FALLBACK http://play.googleapis.com/generate_204 Probably not a portal: exception java.net.SocketTimeoutException: failed to connect to play.googleapis.com/172.217.160.74 (port 80) from /192.168.200.2 (port 55397) after 10000ms
2021-01-06 11:50:33.022 1948-5227/system_process D/NetworkMonitor/NetworkAgentInfo [WIFI () - 101]: PROBE_DNS www.google.com 9ms OK 66.220.158.32,2001::1f0d:5129
2021-01-06 11:50:33.022 1948-5228/system_process D/NetworkMonitor/NetworkAgentInfo [WIFI () - 101]: PROBE_DNS connectivitycheck.gstatic.com 8ms OK 203.208.50.34
2021-01-06 11:50:33.145 1948-5228/system_process D/NetworkMonitor/NetworkAgentInfo [WIFI () - 101]: PROBE_HTTP http://connectivitycheck.gstatic.com/generate_204 time=122ms ret=204 request={User-Agent=[Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.82 Safari/537.36]} headers={null=[HTTP/1.1 204 No Content], Content-Length=[0], Date=[Wed, 06 Jan 2021 03:50:33 GMT], X-Android-Received-Millis=[1609905033144], X-Android-Response-Source=[NETWORK 204], X-Android-Selected-Protocol=[http/1.1], X-Android-Sent-Millis=[1609905033064]}
2021-01-06 11:50:36.347 1948-3343/system_process D/NetworkMonitor/NetworkAgentInfo [WIFI () - 101]: PROBE_FALLBACK http://play.googleapis.com/generate_204 Probably not a portal: exception java.net.SocketException: Connection reset
2021-01-06 11:50:37.491 1948-5219/system_process D/NetworkMonitor/NetworkAgentInfo [MOBILE (LTE) - 100]: PROBE_HTTPS https://www.google.com/generate_204 Probably not a portal: exception java.net.SocketTimeoutException: failed to connect to www.google.com/2001::1f0d:5129 (port 443) from /fec0::c11e:c6af:a20a:9e54 (port 56077) after 10000ms
2021-01-06 11:50:37.495 1948-2036/system_process D/ConnectivityService: NetworkAgentInfo [MOBILE (LTE) - 100] validation failed
2021-01-06 11:50:41.751 1447-1447/? I/boot-pipe: done populating /dev/random
2021-01-06 11:50:47.542 1948-1974/system_process E/BatteryStatsService: modem info is invalid: ModemActivityInfo{ mTimestamp=0 mSleepTimeMs=0 mIdleTimeMs=0 mTxTimeMs[]=[0, 0, 0, 0, 0] mRxTimeMs=0 mEnergyUsed=0}
2021-01-06 11:50:53.048 1948-5227/system_process D/NetworkMonitor/NetworkAgentInfo [WIFI () - 101]: PROBE_HTTPS https://www.google.com/generate_204 Probably not a portal: exception java.net.SocketTimeoutException: failed to connect to www.google.com/2001::1f0d:5129 (port 443) from /fec0::1d5f:23a0:42c9:3e63 (port 60966) after 10000ms
2021-01-06 11:50:53.049 1948-2036/system_process D/ConnectivityService: NetworkAgentInfo [WIFI () - 101] validation failed
2021-01-06 11:50:53.049 1948-2032/system_process D/WifiStateMachine: NETWORK_STATUS_UNWANTED_VALIDATION_FAILED
2021-01-06 11:51:00.005 1948-1970/system_process E/memtrack: Couldn't load memtrack module
2021-01-06 11:51:00.005 1948-1970/system_process W/android.os.Debug: failed to get memory consumption info: -1
2021-01-06 11:51:00.027 1440-1477/? D/hwcomposer: hw_composer sent 19 syncs in 60s
2021-01-06 11:51:41.752 1447-1447/? I/boot-pipe: done populating /dev/random
2021-01-06 11:51:42.693 1948-1974/system_process E/BatteryStatsService: modem info is invalid: ModemActivityInfo{ mTimestamp=0 mSleepTimeMs=0 mIdleTimeMs=0 mTxTimeMs[]=[0, 0, 0, 0, 0] mRxTimeMs=0 mEnergyUsed=0}
2021-01-06 11:52:00.019 1440-1477/? D/hwcomposer: hw_composer sent 21 syncs in 60s
2021-01-06 11:52:00.287 1948-5094/system_process D/WificondControl: Scan result ready event
2021-01-06 11:52:41.753 1447-1447/? I/boot-pipe: done populating /dev/random
2021-01-06 11:53:00.007 1948-1970/system_process E/memtrack: Couldn't load memtrack module
2021-01-06 11:53:00.010 1948-1970/system_process W/android.os.Debug: failed to get memory consumption info: -1
2021-01-06 11:53:00.034 1440-1477/? D/hwcomposer: hw_composer sent 21 syncs in 60s
2021-01-06 11:53:00.063 2085-2093/com.android.systemui I/zygote: Do partial code cache collection, code=244KB, data=162KB
2021-01-06 11:53:00.063 2085-2093/com.android.systemui I/zygote: After code cache collection, code=244KB, data=162KB
2021-01-06 11:53:00.063 2085-2093/com.android.systemui I/zygote: Increasing code cache capacity to 1024KB

收藏
点赞
0
个赞
共4条回复 最后由chrisberg923回复于2021-01-07
#5chrisberg923回复于2021-01-07
#3 孤单小糯米回复
还是会出错,自从上次打包发布后就用不了语音翻译[图片]

请问你测试的的百度翻译还是语音识别功能呢?翻译是指不同语种之间的翻译,比如将英文翻译成中文、中文翻译成日文等。语音识别是将人说的话或音频转换成文字结果。

0
#4孤单小糯米回复于2021-01-06

54001为签名出错,但之前调试的时候没问题

 

0
#3孤单小糯米回复于2021-01-06

还是会出错,自从上次打包发布后就用不了语音翻译

0
#2chrisberg923回复于2021-01-06

请尝试在正常网络环境下测试官方demo,看是否有此报错。

0
TOP
切换版块