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

Stack Overflow | michael | 6 years ago
  1. 0

    Android looper.prepare()

    Stack Overflow | 5 years ago | SirHowy
    java.lang.RuntimeException: An error occured while executing doInBackground()
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    java.lang.RuntimeException: An error occured while executing doInBackground()

    exasked.com | 1 year ago
    java.lang.RuntimeException: An error occured while executing doInBackground()
  4. 0

    java.lang.RuntimeException: An error occured while executing doInBackground()

    itquestionz.com | 1 year ago
    java.lang.RuntimeException: An error occured while executing doInBackground()

  1. bmacedo 10 times, last 2 months ago
  2. Rajesh 2 times, last 6 months ago
  3. NedGr8 1 times, last 8 months ago
  4. asvid 4 times, last 8 months ago
  5. mrPet 1 times, last 9 months ago
4 more registered users
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
    Toast.makeText
    1. android.os.Handler.<init>(Handler.java:121)
    2. android.widget.Toast.<init>(Toast.java:68)
    3. android.widget.Toast.makeText(Toast.java:231)
    3 frames