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.

  • Access method from AsyncTask
    via by Unknown author,
  • Taplytics Crashes app
    via GitHub by renclav
  • Jagadeesh Kumar Reddy - Google+
    via by Unknown author,
    • java.lang.RuntimeException: Can't create handler inside thread that has not called Looper.prepare() at android.os.Handler.<init>( at android.os.Handler.<init>( at com.permissioneverywhere.PermissionRequest.enqueue( at com.shygunsys.pocketcyber.locationservice.TLocationManager.updateLocation( at com.shygunsys.pocketcyber.locationservice.TLocationManager.reset( at com.shygunsys.pocketcyber.syncService.ShygunLocationSyncServicePost.DoSync( at com.shygunsys.pocketcyber.syncService.TShygunSyncService.doInBackground( at com.shygunsys.pocketcyber.syncService.TShygunSyncService.doInBackground( at android.os.AsyncTask$ at at android.os.AsyncTask$SerialExecutor$ at java.util.concurrent.ThreadPoolExecutor.runWorker( at java.util.concurrent.ThreadPoolExecutor$ at

    Users with the same issue

    1 times, last one,
    131 times, last one,
    13 times, last one,
    5 times, last one,
    2 times, last one,
    35 more bugmates