android异常收集-Can't create handler inside thread that has not called Looper.prepare()
产生该问题原因:1.在线程中调用handler的sendMessage方法2。AsyncTask中的doInBackground方法不可直接操作UI解决方法:在调用handler的方法前执行Looper.prepare()。Looper用于封装了android线程中的消息循环,默认情况下一个线程是不...
产生该问题原因:1.在线程中调用handler的sendMessage方法2。AsyncTask中的doInBackground方法不可直接操作UI解决方法:在调用handler的方法前执行Looper.prepare()。Looper用于封装了android线程中的消息循环,默认情况下一个线程是不...