Android Exception 10(server)' ~ Channel is unrecoverably broken and will be disposed!)


08-11 19:22:35.028: W/MemoryDealer(2123): madvise(0x43e16000, 12288, MADV_REMOVE) returned Operation not supported on transport endpoint

08-11 19:22:35.038: W/InputDispatcher(2714): channel '4236b890 com.tongyan.activity/com.tongyan.activity.SettingAct (server)' ~ Consumer closed input channel or an error occurred.  events=0x9
08-11 19:22:35.038: E/InputDispatcher(2714): channel '4236b890 com.tongyan.activity/com.tongyan.activity.SettingAct (server)' ~ Channel is unrecoverably broken and will be disposed!

08-11 19:22:35.038: W/InputDispatcher(2714): Attempted to unregister already unregistered input channel '4236b890 com.tongyan.activity/com.tongyan.activity.SettingAct (server)'

1 Intent serviceIntentStart = new Intent(mContext, MGPSService.class);
2    if(isChecked) {
3      startService(serviceIntentStart);
4    } else {
5      stopService(serviceIntentStart);
6   }

 

GPS没有开启,就开启服务(服务里有调用GPS的代码),所以报错


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM