【转】在子线程中new Handler报错--Can't create handler inside thread that has not called Looper.prepare()
摘要:
在子线程中new一个Handler为什么会报以下错误? java.lang.RuntimeException: Can't create handler inside thread that has not called Looper.prepare() 这是因为Handler对象与其调用者在同一线 阅读全文
posted @ 2018-12-15 18:11 神奇的旋风 阅读(471) 评论(0) 推荐(0) 编辑