java.lang.RuntimeException: Can't create handler inside thread that has not called Looper.prepare()
来源:互联网 发布:测量长度的软件 编辑:程序博客网 时间:2024/06/06 01:53
1. 在报错的代码之前,调用Looper.prepare(),给线程创建消息循环。
2. 在报错的代码之后,调用Looper.loop(),使消息循环起作用。
0 0
- java.lang.RuntimeException: Can't create handler inside thread that has not called Looper.prepare()
- java.lang.RuntimeException: Can't create handler inside thread that has not called Looper.prepare()
- java.lang.RuntimeException: Can't create handler inside thread that has not called Looper.prepare()
- java.lang.RuntimeException: Can't create handler inside thread that has not called Looper.prepare()
- java.lang.RuntimeException: Can't create handler inside thread that has not called Looper.prepare()
- java.lang.RuntimeException: Can't create handler inside thread that has not called Looper.prepare()
- java.lang.RuntimeException: Can't create handler inside thread that has not called Looper.prepare()
- java.lang.RuntimeException: Can't create handler inside thread that has not called Looper.prepare()
- java.lang.RuntimeException: Can't create handler inside thread that has not called Looper.prepare()
- java.lang.RuntimeException: Can't create handler inside thread that has not called Looper.prepare()
- Android java.lang.RuntimeException: Can\'t create handler inside thread that has not called Looper.prepare()
- java.lang.RuntimeException: Can't create handler inside thread that has not called Looper.prepare()
- java.lang.RuntimeException: Can't create handler inside thread that has not called Looper.prepare()
- java.lang.RuntimeException: Can't create handler inside thread that has not called Looper.prepare()
- java.lang.RuntimeException: Can't create handler inside thread that has not called Looper.prepare()
- java.lang.RuntimeException: Can't create handler inside thread that has not called Looper.prepare()
- java.lang.RuntimeException: Can't create handler inside thread that has not called Looper.prepare()
- java.lang.RuntimeException:Can't create handler inside trhead that has not called Looper.prepare
- reactjs学习手记(3)
- 动态代理和静态代理
- BITCS2016程序设计 | 29. 微处理器模拟
- 【工具】[Listary]好用到哭的快速搜索工具
- 21.无限分类表的数据库设计
- java.lang.RuntimeException: Can't create handler inside thread that has not called Looper.prepare()
- Spark在爱奇艺的应用实践
- Ural1982-Electrification Plan
- MyBatis批量更新
- volley笔记--dispatcher们(NetworkDispatcher和CacheDispatcher)
- 习题2-4 子序列之和
- 数组与指针
- 程囧(四)
- archlinux cannot open terminal