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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Stack Overflow by Philipp Bugaevskii
, 1 year ago
Only the original thread that created a view hierarchy can touch its views.
via processing.org by Unknown author, 8 months ago
Only the original thread that created a view hierarchy can touch its views.
via Stack Overflow by user8430
, 1 year ago
Only the original thread that created a view hierarchy can touch its views.
via Stack Overflow by Yen
, 2 years ago
Only the original thread that created a view hierarchy can touch its views.
via apache.org by Unknown author, 2 years ago
Only the original thread that created a view hierarchy can touch its views.
android.view.ViewRootImpl$CalledFromWrongThreadException: Only the original thread that created a view hierarchy can touch its views.
at android.view.ViewRootImpl.checkThread(ViewRootImpl.java:6462)
at android.view.ViewRootImpl.requestLayout(ViewRootImpl.java:897)
at android.view.View.requestLayout(View.java:17494)
at android.view.View.setLayoutParams(View.java:11482)
at android.view.WindowManagerGlobal.updateViewLayout(WindowManagerGlobal.java:305)
at android.view.WindowManagerImpl.updateViewLayout(WindowManagerImpl.java:91)
at android.app.Activity.onWindowAttributesChanged(Activity.java:2606)
at android.view.Window.setFlags(Window.java:813)
at android.view.Window.clearFlags(Window.java:787)
at org.nexage.sourcekit.vast.activity.VASTActivity.finishActivity(Unknown Source)
at org.nexage.sourcekit.vast.activity.VASTActivity.access$500(Unknown Source)
at org.nexage.sourcekit.vast.activity.VASTActivity$19.run(Unknown Source)
at java.util.Timer$TimerImpl.run(Timer.java:284)

Users with the same issue

Once, 4 months ago
2 times, 6 months ago
Samebug visitor profile picture
Unknown user
Once, 8 months ago
7 times, 8 months ago
4 times, 9 months ago
28 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.