首页 > 代码库 > Android Exception 10((server)' ~ Channel is unrecoverably broken and will be disposed!)
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的代码),所以报错
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。