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

Stack Overflow | Shino Rascal | 7 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

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

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

    Android 6

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

    Crashes when I try to ffplay it when video size is unsupported

    GitHub | 7 months ago | vi
    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

    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 | 5 months ago | Sharmila Shankar
    java.lang.RuntimeException: Can't create handler inside thread that has not called Looper.prepare()
  6. 0

    Runtime Exception

    GitHub | 4 months ago | drojokef
    java.lang.RuntimeException: Can't create handler inside thread that has not called Looper.prepare()
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:108)
    4. android.app.Dialog.<init>(Dialog.java:148)
    4 frames
  3. Android v7
    AlertDialog$Builder.create
    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)
    3 frames
  4. com.example.study
    Splash$2.run
    1. com.example.study.Splash.checking(Splash.java:66)
    2. com.example.study.Splash$2.run(Splash.java:51)
    2 frames