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

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

    App is crashing in Android 6.0

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

    Android 6

    GitHub | 4 months ago | alhdo
    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

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

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

    Runtime Exception

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

  1. mrokay97 5 times, last 4 months ago
  2. dmitry 1 times, last 6 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.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.admin
    ServiceTest$1.run
    1. com.example.admin.digitaltime.ServiceTest$1.run(ServiceTest.java:100)
    1 frame
  5. Java RT
    Timer$TimerImpl.run
    1. java.util.Timer$TimerImpl.run(Timer.java:284)
    1 frame