java.lang.RuntimeException: Can't create handler inside thread that has not called Looper.prepare() How can I handle this error? ERROR/AndroidRuntime(5370): java.lang.ExceptionInInitializerError

Stack Overflow | lacas | 6 years ago
  1. 0

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

    Stack Overflow | 6 years ago | lacas
    java.lang.RuntimeException: Can't create handler inside thread that has not called Looper.prepare() How can I handle this error? ERROR/AndroidRuntime(5370): java.lang.ExceptionInInitializerError
  2. 0

    Crash on pre JELLY_BEAN devices

    GitHub | 3 years ago | giccisw
    java.lang.ExceptionInInitializerError
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Crash at startup

    GitHub | 3 years ago | chr15m
    java.lang.ExceptionInInitializerError
  5. 0

    GitHub comment 18#44350443

    GitHub | 3 years ago | Nutomic
    java.lang.ExceptionInInitializerError

  1. Macapon 3 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
    AsyncTask.<clinit>
    1. android.os.Handler.<init>(Handler.java:121)
    2. android.os.AsyncTask$InternalHandler.<init>(AsyncTask.java:421)
    3. android.os.AsyncTask$InternalHandler.<init>(AsyncTask.java:421)
    4. android.os.AsyncTask.<clinit>(AsyncTask.java:152)
    4 frames
  3. com.l.start
    OpenGLRenderer.onSurfaceChanged
    1. com.l.start.DynamicText.setText(DynamicText.java:125)
    2. com.l.start.OpenGLRenderer.initfonts(OpenGLRenderer.java:168)
    3. com.l.start.OpenGLRenderer.init(OpenGLRenderer.java:119)
    4. com.l.start.OpenGLRenderer.onSurfaceChanged(OpenGLRenderer.java:90)
    4 frames
  4. Android Platform
    GLSurfaceView$GLThread.run
    1. android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1120)
    2. android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:975)
    2 frames