android.view.ViewRootImpl$CalledFromWrongThreadException

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


Solutions on the web423

Solution icon of github
via GitHub by GorbadPS3
, 8 months ago
Only the original thread that created a view hierarchy can touch its views.

Solution icon of github
via GitHub by Pitel
, 10 months ago
Only the original thread that created a view hierarchy can touch its views.

Solution icon of github
Only the original thread that created a view hierarchy can touch its views.

Solution icon of github
Only the original thread that created a view hierarchy can touch its views.

Solution icon of github
via GitHub by door43app
, 1 year ago
Only the original thread that created a view hierarchy can touch its views.

Solution icon of github
Only the original thread that created a view hierarchy can touch its views.

Solution icon of github
Only the original thread that created a view hierarchy can touch its views.

Solution icon of github
Only the original thread that created a view hierarchy can touch its views.

Solution icon of github
Only the original thread that created a view hierarchy can touch its views.

Solution icon of github
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)

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

Samebug visitor profile picture
Unknown user
Once, 1 year ago
109 times, 11 months ago
3 times, 1 year ago
17 times, 1 year ago
2 times, 1 year ago
28 more bugmates