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

GitHub | Ernest-su | 4 months ago
  1. 0

    请问一下,blockComplete回调不会抛到主线程吗?

    GitHub | 4 months ago | Ernest-su
    android.view.ViewRootImpl$CalledFromWrongThreadException: Only the original thread that created a view hierarchy can touch its views.
  2. 0

    Hide a EditText & make it visible in AsyncTask

    Stack Overflow | 3 years ago | Kasih
    java.lang.RuntimeException: An error occured while executing doInBackground()
  3. 0

    Ibeacon android library 0.7.6 upgrade issue

    Stack Overflow | 3 years ago | Dheeresh
    android.view.ViewRootImpl$CalledFromWrongThreadException: Only the original thread that created a view hierarchy can touch its views.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Why does the image doesn't set in an Imageview using an Asynchronous Task?

    Stack Overflow | 3 years ago
    android.view.ViewRootImpl$CalledFromWrongThreadException: Only the original thread that created a view hierarchy can touch its views.
  6. 0

    android ¿ª·¢ÖÐÓöµ½´íÎó¼°½â¾ö°ì·¨×ܽá - AndroidÒƶ¯¿ª·¢¼¼ÊõÎÄÕÂ_ÊÖ»ú¿ª·¢ - ºìºÚÁªÃË

    2cto.com | 12 months ago
    android.view.ViewRootImpl$CalledFromWrongThreadException: Only the original thread that created a view hierarchy can touch its views.
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. android.view.ViewRootImpl$CalledFromWrongThreadException

    Only the original thread that created a view hierarchy can touch its views.

    at android.view.ViewRootImpl.checkThread()
  2. Android Platform
    View.requestLayout
    1. android.view.ViewRootImpl.checkThread(ViewRootImpl.java:6099)
    2. android.view.ViewRootImpl.requestLayout(ViewRootImpl.java:824)
    3. android.view.View.requestLayout(View.java:16431)
    4. android.view.View.requestLayout(View.java:16431)
    5. android.view.View.requestLayout(View.java:16431)
    6. android.view.View.requestLayout(View.java:16431)
    7. android.view.View.requestLayout(View.java:16431)
    8. android.widget.RelativeLayout.requestLayout(RelativeLayout.java:352)
    9. android.view.View.requestLayout(View.java:16431)
    9 frames
  3. Android v7
    RecyclerView$Adapter.notifyItemChanged
    1. android.support.v7.widget.RecyclerView.requestLayout(RecyclerView.java:3291)
    2. android.support.v7.widget.RecyclerView$RecyclerViewDataObserver.triggerUpdateProcessor(RecyclerView.java:4308)
    3. android.support.v7.widget.RecyclerView$RecyclerViewDataObserver.onItemRangeChanged(RecyclerView.java:4275)
    4. android.support.v7.widget.RecyclerView$AdapterDataObservable.notifyItemRangeChanged(RecyclerView.java:9959)
    5. android.support.v7.widget.RecyclerView$Adapter.notifyItemChanged(RecyclerView.java:5791)
    5 frames
  4. com.konka.downloadcenter
    DownloadManager$1.blockComplete
    1. com.konka.downloadcenter.manager.DownloadListUpdater.update(DownloadListUpdater.java:148)
    2. com.konka.downloadcenter.manager.DownloadManager.callGlobalUpdater(DownloadManager.java:206)
    3. com.konka.downloadcenter.manager.DownloadManager.access$000(DownloadManager.java:30)
    4. com.konka.downloadcenter.manager.DownloadManager$1.blockComplete(DownloadManager.java:102)
    4 frames
  5. com.liulishuo.filedownloader
    FileDownloadMessageStation$1.run
    1. com.liulishuo.filedownloader.FileDownloadListener.callback(FileDownloadListener.java:86)
    2. com.liulishuo.filedownloader.FileDownloadMessenger.handoverMessage(FileDownloadMessenger.java:255)
    3. com.liulishuo.filedownloader.FileDownloadMessageStation$1.run(FileDownloadMessageStation.java:80)
    3 frames
  6. Java RT
    Thread.run
    1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
    2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
    3. java.lang.Thread.run(Thread.java:841)
    3 frames