Can't create handler inside thread that has not called Looper.prepare() 终极解决方法

非主线程中出现

在报错的方法前加Looper.prepare(); 
方法末尾加Looper.loop();

 

很简单吧

posted on 2015-09-09 12:51  寻步  阅读(507)  评论(0编辑  收藏  举报