// 采用分段打印 四千字符分一段
if (response.length() > 4000) { for (int i = 0; i < response.length(); i += 4000) { if (i + 4000 < response.length()) { Log.i("第" + i + "数据", response.substring(i, i + 4000)); } else { Log.i("第" + i + "数据", response.substring(i, response.length())); } } } else { Log.i("全部数据", "************************ response = " + response); }