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 Abhi
, 1 year ago
Only the original thread that created a view hierarchy can touch its views.
via GitHub by Z3r0byte
, 1 year ago
Only the original thread that created a view hierarchy can touch its views.
via GitHub by dragontamer8740
, 1 year ago
Only the original thread that created a view hierarchy can touch its views.
via Stack Overflow by zuzu_yun
, 1 year ago
Only the original thread that created a view hierarchy can touch its views.
via Stack Overflow by user1348718
, 2 years ago
via Stack Overflow by iEpic
, 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:7266)	at android.view.ViewRootImpl.recomputeViewAttributes(ViewRootImpl.java:3490)	at android.view.ViewGroup.recomputeViewAttributes(ViewGroup.java:1357)	at android.view.ViewGroup.recomputeViewAttributes(ViewGroup.java:1357)	at android.view.ViewGroup.recomputeViewAttributes(ViewGroup.java:1357)	at android.view.ViewGroup.recomputeViewAttributes(ViewGroup.java:1357)	at android.view.ViewGroup.recomputeViewAttributes(ViewGroup.java:1357)	at android.view.ViewGroup.recomputeViewAttributes(ViewGroup.java:1357)	at android.view.ViewGroup.recomputeViewAttributes(ViewGroup.java:1357)	at android.view.ViewGroup.recomputeViewAttributes(ViewGroup.java:1357)	at android.view.ViewGroup.recomputeViewAttributes(ViewGroup.java:1357)	at android.view.ViewGroup.recomputeViewAttributes(ViewGroup.java:1357)	at android.view.ViewGroup.recomputeViewAttributes(ViewGroup.java:1357)	at android.view.View.needGlobalAttributesUpdate(View.java:9904)	at android.view.View.setFlags(View.java:10749)	at android.view.View.setVisibility(View.java:7511)	at com.example.abhishek.focus_business_solution.SignIn$3$1.onResponse(SignIn.java:248)	at okhttp3.RealCall$AsyncCall.execute(RealCall.java:133)	at okhttp3.internal.NamedRunnable.run(NamedRunnable.java:32)	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)	at java.lang.Thread.run(Thread.java:818)