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

xamarin.com | 3 months ago
  1. 0

    How to call alert dialog in timer class? — Xamarin Forums

    xamarin.com | 3 months ago
    java.lang.RuntimeException: Can't create handler inside thread that has not called Looper.prepare()
  2. 0

    Alertdialog does not work, it make exception in Android

    Stack Overflow | 4 years ago | Panda
    java.lang.RuntimeException: Can't create handler inside thread that has not called Looper.prepare() at android.os.Handler.<init>(Handler.java:197) at android.os.Handler.<init>(Handler.java:111) at android.app.Dialog.<init>(Dialog.java:107) at android.app.AlertDialog.<init>(AlertDialog.java:114)
  3. 0

    Android dialog from thread

    Stack Overflow | 5 years ago | jarvisteve
    java.lang.RuntimeException: An error occured while executing doInBackground()
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    error in asynchtask

    Stack Overflow | 5 years ago | atluriajith
    java.lang.RuntimeException: An error occured while executing doInBackground()
  6. 0

    an error occured while executing doInBackground() android

    Stack Overflow | 3 years ago | GtoXic
    java.lang.RuntimeException: An error occured while executing doInBackground()

  1. bayukresno 9 times, last 7 months ago
3 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.RuntimeException

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

    at android.os.Handler.<init>()
  2. Android Platform
    AlertDialog$Builder.create
    1. android.os.Handler.<init>(Handler.java:200)
    2. android.os.Handler.<init>(Handler.java:114)
    3. android.app.Dialog.<init>(Dialog.java:113)
    4. android.app.AlertDialog.<init>(AlertDialog.java:125)
    5. android.app.AlertDialog$Builder.create(AlertDialog.java:968)
    5 frames