解决okhttp的java.lang.IllegalStateException: closed错误

 错误以下java   缘由为OkHttp请求回调中response.body().string()只能有效调用一次,而我使用了两次:post String result = response.body().string(); Log.e(TAG, "onResponse - " + response.body().string() );//打印时又使用了一次
相关文章
相关标签/搜索