android.view.ViewRootImpl$CalledFromWrongThreadException: Only the original thread that created a view hierarchy can touch its views.

Stack Overflow | Akimoto Akira | 4 months ago
  1. 0

    android studio AFATAL EXCEPTION: Timer-0

    Stack Overflow | 4 months ago | Akimoto Akira
    android.view.ViewRootImpl$CalledFromWrongThreadException: Only the original thread that created a view hierarchy can touch its views.
  2. 0

    Crash: MapActivity responding to CellScanner, updates on wrong thread

    GitHub | 2 years ago | garvankeeley
    android.view.ViewRootImpl$CalledFromWrongThreadException: Only the original thread that created a view hierarchy can touch its views.
  3. 0

    Android app data taking from MySql table

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

    Automated exception search integrated into your IDE

  5. 0

    Android java crash after thread.start

    Stack Overflow | 3 years ago | Rob
    android.view.ViewRootImpl$CalledFromWrongThreadException: Only the original thread that created a view hierarchy can touch its views.
  6. 0

    Cannot pass data to EditText from Mysql

    Stack Overflow | 3 years ago | Juraganerka
    java.lang.RuntimeException: An error occured while executing doInBackground()

  1. Diogo Jaym 2 times, last 5 months ago
  2. jk 8 times, last 5 months ago
  3. dmitry 1 times, last 8 months ago
1 unregistered visitors
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. android.view.ViewRootImpl$CalledFromWrongThreadException

    Only the original thread that created a view hierarchy can touch its views.

    at android.view.ViewRootImpl.checkThread()
  2. Android Platform
    TextView.setText
    1. android.view.ViewRootImpl.checkThread(ViewRootImpl.java:6072)
    2. android.view.ViewRootImpl.requestLayout(ViewRootImpl.java:861)
    3. android.view.View.requestLayout(View.java:16459)
    4. android.view.View.requestLayout(View.java:16459)
    5. android.view.View.requestLayout(View.java:16459)
    6. android.view.View.requestLayout(View.java:16459)
    7. android.view.View.requestLayout(View.java:16459)
    8. android.view.View.requestLayout(View.java:16459)
    9. android.widget.RelativeLayout.requestLayout(RelativeLayout.java:352)
    10. android.view.View.requestLayout(View.java:16459)
    11. android.widget.TextView.checkForRelayout(TextView.java:6607)
    12. android.widget.TextView.setText(TextView.java:3820)
    13. android.widget.TextView.setText(TextView.java:3678)
    14. android.widget.TextView.setText(TextView.java:3653)
    14 frames
  3. com.example.admin
    MainActivity$1.run
    1. com.example.admin.blue.MainActivity$1.run(MainActivity.java:56)
    1 frame