Can't create handler inside thread that has not called Looper.prepare()

解決方法如下: 類似錯誤分析: 錯誤信息:在Android開發中,如果在一個Thread中啓動了一個ProgressDialog用來提示正在連接(也就是防假死),然後在Handler中dismiss()這個ProgressDialog,程序就直接掛掉,異常信息是:Can't create handler inside thread that has not called Looper.prepar
相關文章
相關標籤/搜索