Can't create handler inside thread that has not called Looper.prepare() 終極解決方法

E/AndroidRuntime(26639): Caused by: java.lang.RuntimeException: Can't create handler inside thread that has not called Looper.prepare() 在報錯的方法前加Looper.prepare();  方法末尾加Looper.loop(); java 很簡單吧ide
相關文章
相關標籤/搜索