httputis报Can't create handler inside thread that has not called Looper.prepare

【httputis报Can't create handler inside thread that has not called Looper.prepare】

httputis报Can't create handler inside thread that has not called Looper.prepare

文章插图
向Can# 039t在未调用looper的线程内创建处理程序 。prepare()http将报告给Can# 039t在未调用Looper的线程内创建处理程序 。Prepare()简介:我用的是最新版本的xutils , 报错如下:一直不知道怎么解决 。我跟踪了代码 , 错误就出在这个地方:httphandler < Tgthandler = new HttpHandlerltTgt(h