有时编译android studio卡在gradle的某个任务

这个时候我们可以用 gradle clean –info来看gradle的进度

这里写图片描述

从上面的信息可以看出这个gradle卡在
I/O exception (org.apache.http.NoHttpResponseException) caught when processing request to {}->http://192.168.10.230:8081: The target server failed to respond
Retrying request to {}->http://192.168.10.230:8081

我们这台机器连接不上http://192.168.10.230:8081所以是网络问题

猜你喜欢

转载自blog.csdn.net/baidu_nod/article/details/70571521