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

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via GitHub by HolgerJeromin
, 1 year ago
Only the original thread that created a view hierarchy can touch its views.
via GitHub by c1rus
, 1 year ago
Only the original thread that created a view hierarchy can touch its views.
via GitHub by bduyng
, 1 year ago
Only the original thread that created a view hierarchy can touch its views.
via Stack Overflow by Tertles
, 2 years ago
Only the original thread that created a view hierarchy can touch its views.
via Stack Overflow by TwoStarII
, 2 years ago
Only the original thread that created a view hierarchy can touch its views.
via Stack Overflow by KellyMarchewa
, 1 year 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.invalidateChildInParent(ViewRootImpl.java:909)
at android.view.ViewGroup.invalidateChild(ViewGroup.java:4691)
at android.view.View.invalidateInternal(View.java:11802)
at android.view.View.invalidate(View.java:11766)
at android.view.View.invalidate(View.java:11750)
at android.support.v7.widget.ActivityChooserView.updateAppearance(ActivityChooserView.java:531)
at android.support.v7.widget.ActivityChooserView.access$400(ActivityChooserView.java:66)
at android.database.DataSetObservable.notifyChanged(DataSetObservable.java:37)
at android.support.v7.widget.ActivityChooserModel.ensureConsistentState(ActivityChooserModel.java:660)
at android.support.v7.widget.ActivityChooserModel.setIntent(ActivityChooserModel.java:373)
at app.mapillary.android.activity.BrowserActivity.setLocation(BrowserActivity.java:406)
at app.mapillary.android.browser.WebAppInterface.moveMapTo(WebAppInterface.java:18)
at org.chromium.base.SystemMessageHandler.nativeDoRunLoopOnce(Native Method)
at org.chromium.base.SystemMessageHandler.handleMessage(SystemMessageHandler.java:39)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:135)
at android.os.HandlerThread.run(HandlerThread.java:61)

Users with the same issue

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

Write tip

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