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

Stack Overflow | user1851366 | 6 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

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

    Stack Overflow | 6 months ago | user1851366
    java.lang.RuntimeException: Can't create handler inside thread that has not called Looper.prepare()
  2. 0

    Crash with new Pop Up system in SmsDetector.

    GitHub | 1 year ago | banjaxbanjo
    java.lang.RuntimeException: Can't create handler inside thread that has not called Looper.prepare()
  3. 0

    Android run on uithread - i want to open dialog boxes at a intreval of 5 secs can anyone help me out of this

    Stack Overflow | 4 months ago | Sharmila Shankar
    java.lang.RuntimeException: Can't create handler inside thread that has not called Looper.prepare()
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    App is crashing in Android 6.0

    GitHub | 7 months ago | vivekkiran
    java.lang.RuntimeException: Can't create handler inside thread that has not called Looper.prepare()

  1. mrokay97 5 times, last 7 months ago
  2. dmitry 1 times, last 9 months ago
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
    Dialog.<init>
    1. android.os.Handler.<init>(Handler.java:200)
    2. android.os.Handler.<init>(Handler.java:114)
    3. android.app.Dialog.<init>(Dialog.java:119)
    4. android.app.Dialog.<init>(Dialog.java:168)
    4 frames
  3. Android v7
    AlertDialog$Builder.show
    1. android.support.v7.app.AppCompatDialog.<init>(AppCompatDialog.java:43)
    2. android.support.v7.app.AlertDialog.<init>(AlertDialog.java:95)
    3. android.support.v7.app.AlertDialog$Builder.create(AlertDialog.java:927)
    4. android.support.v7.app.AlertDialog$Builder.show(AlertDialog.java:952)
    4 frames