07-19 11:04:04.037 20941-25427/com.indetravel.lvcheng W/System.err: java.lang.IllegalArgumentException: &com.baidu.speech.Policy.uid() invoke failed
07-19 11:04:04.038 20941-25427/com.indetravel.lvcheng W/System.err: at com.baidu.speech.Args.tryFillValue(Args.java:370)
07-19 11:04:04.038 20941-25427/com.indetravel.lvcheng W/System.err: at com.baidu.speech.Args.parse(Args.java:388)
07-19 11:04:04.038 20941-25427/com.indetravel.lvcheng W/System.err: at com.baidu.speech.Args.parse(Args.java:398)
07-19 11:04:04.038 20941-25427/com.indetravel.lvcheng W/System.err: at com.baidu.speech.Args.(Args.java:304)
07-19 11:04:04.038 20941-25427/com.indetravel.lvcheng W/System.err: at com.baidu.speech.Args.(Args.java:287)
07-19 11:04:04.038 20941-25427/com.indetravel.lvcheng W/System.err: at com.baidu.speech.AbsSession.run(AbsSession.java:70)
07-19 11:04:04.038 20941-25427/com.indetravel.lvcheng W/System.err: at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:423)
07-19 11:04:04.038 20941-25427/com.indetravel.lvcheng W/System.err: at java.util.concurrent.FutureTask.run(FutureTask.java:237)
07-19 11:04:04.038 20941-25427/com.indetravel.lvcheng W/System.err: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)
07-19 11:04:04.038 20941-25427/com.indetravel.lvcheng W/System.err: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
07-19 11:04:04.038 20941-25427/com.indetravel.lvcheng W/System.err: at java.lang.Thread.run(Thread.java:818)
07-19 11:04:04.038 20941-25427/com.indetravel.lvcheng W/System.err: Caused by: java.lang.reflect.InvocationTargetException
07-19 11:04:04.038 20941-25427/com.indetravel.lvcheng W/System.err: at java.lang.reflect.Method.invoke(Native Method)
07-19 11:04:04.038 20941-25427/com.indetravel.lvcheng W/System.err: at com.baidu.speech.Args.tryFillValue(Args.java:359)
07-19 11:04:04.038 20941-25427/com.indetravel.lvcheng W/System.err: ... 10 more
07-19 11:04:04.038 20941-25427/com.indetravel.lvcheng W/System.err: Caused by: java.lang.SecurityException: Permission Denial: requires permission android.permission.WRITE_SETTINGS
07-19 11:04:04.039 20941-25427/com.indetravel.lvcheng W/System.err: at com.baidu.voicerecognition.android.DeviceId.checkPermission(DeviceId.java:89)
07-19 11:04:04.039 20941-25427/com.indetravel.lvcheng W/System.err: at com.baidu.voicerecognition.android.DeviceId.getDeviceID(DeviceId.java:29)
07-19 11:04:04.039 20941-25427/com.indetravel.lvcheng W/System.err: at com.baidu.voicerecognition.android.CommonParam.getDeviceId(CommonParam.java:26)
07-19 11:04:04.039 20941-25427/com.indetravel.lvcheng W/System.err: at com.baidu.voicerecognition.android.CommonParam.getCUID(CommonParam.java:13)
07-19 11:04:04.039 20941-25427/com.indetravel.lvcheng W/System.err: at com.baidu.voicerecognition.android.Device.getDeviceID(Device.java:33)
07-19 11:04:04.039 20941-25427/com.indetravel.lvcheng W/System.err: at com.baidu.speech.Policy.uid(Policy.java:37)
07-19 11:04:04.039 20941-25427/com.indetravel.lvcheng W/System.err: ... 12 more
07-19 11:04:04.042 20941-20941/com.indetravel.lvcheng E/111111111111111111: 识别失败:没有匹配的识别结果:7
07-19 11:04:04.042 20941-20941/com.indetravel.lvcheng E/111111111: 3
07-19 11:04:05.063 20941-20941/com.indetravel.lvcheng W/RecognitionService: stopListening called with no preceding startListening - ignoring
07-19 11:04:05.063 20941-20941/com.indetravel.lvcheng E/111111111111111111: 识别失败:其它客户端错误:5
你好该问题是因为android6.0禁用了WRITE_SETTINGS权限导致的,请更新到2.1版本sdk解决此问题