java.lang.RuntimeException

tip

Any worker thread runs in background, since it is not intended to loop, is not connected to a Looper.for example doInBackground().
its implementation returns will be passed to onPostExecute() which runs on the UI thread.

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

  • GitHub comment 465#268384794
    via GitHub by AnmAtAnm
    ,
  • Access method from AsyncTask
    via by Unknown author,
  • syncing between handler and timerTask
    via by Unknown author,
    • java.lang.RuntimeException: Can't create handler inside thread that has not called Looper.prepare() at android.os.Handler.<init>(Handler.java:200)

    Users with the same issue

    winer222
    1 times, last one,
    Akshay
    131 times, last one,
    adawolfs
    13 times, last one,
    jk
    5 times, last one,
    Riyaz
    2 times, last one,
    35 more bugmates