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

GitHub | Blithe0306 | 3 months ago
  1. 0

    GitHub comment 24#248193873

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

    accelerometer crash

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

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

    Stack Overflow | 1 year ago | Leonard Febrianto
    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

    Run a CountDownTimer inside an AsyncTask

    Stack Overflow | 1 year ago | Sid
    java.lang.RuntimeException: An error occured while executing doInBackground()
  6. 0

    心跳CountDownTimer疑似有bug:出现异常:Can't create handler inside thread that has not called Looper.prepare

    GitHub | 3 months ago | Summer006
    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
      CountDownTimer.<init>
      1. android.os.Handler.<init>(Handler.java:200)
      2. android.os.Handler.<init>(Handler.java:114)
      3. android.os.CountDownTimer$1.<init>(CountDownTimer.java:114)
      4. android.os.CountDownTimer.<init>(CountDownTimer.java:114)
      4 frames
    3. com.vilyever.socketclient
      SocketClient$DisconnectionThread.run
      1. com.vilyever.socketclient.SocketClient$5.<init>(SocketClient.java:449)
      2. com.vilyever.socketclient.SocketClient.getHearBeatCountDownTimer(SocketClient.java:449)
      3. com.vilyever.socketclient.SocketClient$DisconnectionThread.run(SocketClient.java:1048)
      3 frames