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的代码),所以报错

你可能感兴趣的:(exception)