dialog - android error: Can't create handler inside thread that has not called Looper.prepare() -


i have error users of android market. have no idea when error occurs . simulator , test phone runs app perfectly! any1 idea begin looking? !

this error:

java.lang.runtimeexception: can't create handler inside thread has not called looper.prepare() @ android.os.handler.(handler.java:121) @ android.view.viewroot.(viewroot.java:259) @ android.view.windowmanagerimpl.addview(windowmanagerimpl.java:148) @ android.view.windowmanagerimpl.addview(windowmanagerimpl.java:91) @ android.view.window$localwindowmanager.addview(window.java:430) @ android.app.dialog.show(dialog.java:288) @ be.test.testerd$1.run(testscreen.java:103)

this can occur, if have used asynctask , in dobackground() method not called on main ui thread, , calling toast or anyother thing runs on main ui thread.


Comments

Popular posts from this blog

c# - how to write client side events functions for the combobox items -

exception - Python, pyPdf OCR error: pyPdf.utils.PdfReadError: EOF marker not found -