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


Solutions on the web399

Solution icon of web
via blogspot.com by Unknown author, 1 year ago
Only the original thread that created a view hierarchy can touch its views.

Solution icon of web
via blogspot.com by Unknown author, 1 year ago
Only the original thread that created a view hierarchy can touch its views.

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

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

Solution icon of web
via mozilla.com by Unknown author, 9 months ago
Only the original thread that created a view hierarchy can touch its views.

Solution icon of web
via mozilla.com by Unknown author, 9 months ago
Only the original thread that created a view hierarchy can touch its views.

Solution icon of web
via mozilla.com by Unknown author, 11 months ago
Only the original thread that created a view hierarchy can touch its views.

Solution icon of github
via GitHub by c1rus
, 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
via GitHub by dragochristian
, 1 year ago
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, 1 year ago
3 times, 1 year ago
17 times, 1 year ago
2 times, 1 year ago
28 more bugmates