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 GitHub by Ernest-su
, 1 year ago
Only the original thread that created a view hierarchy can touch its views.
via Stack Overflow by ilomambo
, 2 years ago
Only the original thread that created a view hierarchy can touch its views.
via Stack Overflow by David Cesarino
, 2 years ago
Only the original thread that created a view hierarchy can touch its views.
via Stack Overflow by hasmet
, 2 years ago
Only the original thread that created a view hierarchy can touch its views.
via xamarin.com by Unknown author, 1 year ago
Only the original thread that created a view hierarchy can touch its views.
via Xamarin Bugzilla by allie.miller, 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:6099)
at android.view.ViewRootImpl.requestLayout(ViewRootImpl.java:824)
at android.view.View.requestLayout(View.java:16431)
at android.view.View.requestLayout(View.java:16431)
at android.view.View.requestLayout(View.java:16431)
at android.view.View.requestLayout(View.java:16431)
at android.view.View.requestLayout(View.java:16431)
at android.widget.RelativeLayout.requestLayout(RelativeLayout.java:352)
at android.view.View.requestLayout(View.java:16431)
at android.support.v7.widget.RecyclerView.requestLayout(RecyclerView.java:3291)
at android.support.v7.widget.RecyclerView$RecyclerViewDataObserver.triggerUpdateProcessor(RecyclerView.java:4308)
at android.support.v7.widget.RecyclerView$RecyclerViewDataObserver.onItemRangeChanged(RecyclerView.java:4275)
at android.support.v7.widget.RecyclerView$AdapterDataObservable.notifyItemRangeChanged(RecyclerView.java:9959)
at com.konka.downloadcenter.manager.DownloadListUpdater.update(DownloadListUpdater.java:148)
at com.konka.downloadcenter.manager.DownloadManager.callGlobalUpdater(DownloadManager.java:206)
at com.konka.downloadcenter.manager.DownloadManager.access$000(DownloadManager.java:30)
at com.konka.downloadcenter.manager.DownloadManager$1.blockComplete(DownloadManager.java:102)
at com.liulishuo.filedownloader.FileDownloadListener.callback(FileDownloadListener.java:86)
at com.liulishuo.filedownloader.FileDownloadMessenger.handoverMessage(FileDownloadMessenger.java:255)
at com.liulishuo.filedownloader.FileDownloadMessageStation$1.run(FileDownloadMessageStation.java:80)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
at java.lang.Thread.run(Thread.java:841)

Users with the same issue

4 times, 1 year ago
4 times, 9 months ago
4 times, 9 months ago
2 times, 11 months ago
Once, 1 year ago
28 more bugmates

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