android.view.ViewRootImpl$CalledFromWrongThreadException

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

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web423

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

    • android.view.ViewRootImpl$CalledFromWrongThreadException: Only the original thread that created a view hierarchy can touch its views. at android.view.ViewRootImpl.checkThread(ViewRootImpl.java:6363) at android.view.ViewRootImpl.invalidateChildInParent(ViewRootImpl.java:909) at android.view.ViewGroup.invalidateChild(ViewGroup.java:4691) at android.view.View.invalidateInternal(View.java:11810) at android.view.View.invalidate(View.java:11774) at android.view.View.invalidate(View.java:11758) at android.widget.TextView.updateAfterEdit(TextView.java:7705) at android.widget.TextView.handleTextChanged(TextView.java:7728) at android.widget.TextView$ChangeWatcher.onTextChanged(TextView.java:9475) at android.text.SpannableStringBuilder.sendTextChanged(SpannableStringBuilder.java:964) at android.text.SpannableStringBuilder.replace(SpannableStringBuilder.java:515) at android.text.SpannableStringBuilder.append(SpannableStringBuilder.java:272) at android.text.SpannableStringBuilder.append(SpannableStringBuilder.java:33) at android.widget.TextView.append(TextView.java:3627) at android.widget.TextView.append(TextView.java:3614) at com.example.seth.chat4all.MainActivity$ClientThread.run(MainActivity.java:127) at java.lang.Thread.run(Thread.java:818)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Once, 1 year ago
    Once, 1 week ago
    2 times, 3 months ago
    Unknown user
    Once, 4 months ago
    7 times, 5 months ago
    28 more bugmates