早教吧 育儿知识 作业答案 考试题库 百科 知识分享

androidapp在三星galaxys4上跑monkey报错ConnsvcUSBInitfail,找不到出错的原因.log如下10-1717:15:02.460E3047EnterpriseContainerManagerContainerPolicyServiceisnotyetready!10-1717:15:05.245E32648USB[CSSVC\x09][ConnsvcUSBHand

题目详情
android app 在三星galaxy s4上跑monkey报错Connsvc_USB_Init fail,找不到出错的原因.log如下
10-17 17:15:02.460E3047EnterpriseContainerManager ContainerPolicy Service is not yet ready!
10-17 17:15:05.245E32648USB[CSSVC\x09][Connsvc_USB_HandleOpen:1646\x09] open /dev/android_ssusbcon failed (errno 2 : No such file or directory)
10-17 17:15:05.245E32648USB[CSSVC\x09][Connsvc_USB_DeviceCreate:881\x09] Connsvc_USB_HandleOpen fail.
10-17 17:15:05.245E32648USB[CSSVC\x09][Connsvc_USB_DeviceCreate:940\x09] -- Status -1
10-17 17:15:05.245E32648USB[CSSVC\x09][Connsvc_USB_EnumDevice:181\x09] Connsvc_USB_DeviceCreate fail, deviceName : /dev/android_ssusbcon
10-17 17:15:05.245E32648General[CSSVC\x09][Connsvc_USB_Init:46\x09] -- Status : 0xfffffff4
10-17 17:15:05.245E32648General[CSSVC\x09][Connsvc_Startup:84\x09] Connsvc_USB_Init fail. status : -12
10-17 17:15:05.245E32648General[CSSVC\x09][main:117\x09] Connsvc_Startup fail. Status : -12
10-17 17:15:09.295E32548AndroidRuntime
!@*** FATAL EXCEPTION IN SYSTEM PROCESS: main10-17 17:15:09.295E32548AndroidRuntime
java.lang.IllegalThreadStateException: Thread already started
10-17 17:15:09.295E32548AndroidRuntime at java.lang.Thread.checkNotStarted(Thread.java:871)
10-17 17:15:09.295E32548AndroidRuntimeat java.lang.Thread.setDaemon(Thread.java:863)
▼优质解答
答案和解析
把完成的异常贴上来吧
java.lang.IllegalThreadStateException:Thread already started
这个异常是说你的线程已经开启或者已经结束,
而你又再去调用了start来启动线程jvm就会导出这个异常