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 Jame
, 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 Stack Overflow by Philipp Buhaievskiy
, 1 year ago
Only the original thread that created a view hierarchy can touch its views.
via processing.org by Unknown author, 1 year ago
Only the original thread that created a view hierarchy can touch its views.
via Stack Overflow by antman
, 1 year ago
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:6363) at android.view.ViewRootImpl.requestLayout(ViewRootImpl.java:874) at android.view.View.requestLayout(View.java:17483) at android.view.View.setLayoutParams(View.java:11478) at android.view.WindowManagerGlobal.updateViewLayout(WindowManagerGlobal.java:305) at android.view.WindowManagerImpl.updateViewLayout(WindowManagerImpl.java:91) at android.app.Activity.onWindowAttributesChanged(Activity.java:2596) at android.support.v7.view.WindowCallbackWrapper.onWindowAttributesChanged(WindowCallbackWrapper.java:108) at android.view.Window.dispatchWindowAttributesChanged(Window.java:852) at com.android.internal.policy.impl.PhoneWindow.dispatchWindowAttributesChanged(PhoneWindow.java:4252) at android.view.Window.setFlags(Window.java:825) at android.view.Window.addFlags(Window.java:771)