Android使用OkHttp时报java.lang.IllegalStateException: closed
1.使用OkHttp
在使用okHttp时,我们有时会习惯直接使用response.body().string(),来节约代码

这样看起来没有任何错误,但运行起来就会报错

这错误指向
EventBus.getDefault().post(new MsgBus(response.body().string()));
2.修正
在查阅资料后发现,response.body().string()不能引用两次,在修改后就能正常运行
