android.view.ViewRootImpl$CalledFromWrongThreadException

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

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web392

  • via GitHub by kumy
    ,
  • via GitHub by Pitel
    ,
  • Stack trace

    • android.view.ViewRootImpl$CalledFromWrongThreadException: Only the original thread that created a view hierarchy can touch its views. at android.view.ViewRootImpl.checkThread(ViewRootImpl.java:6566) at android.view.ViewRootImpl.focusableViewAvailable(ViewRootImpl.java:3042) at android.view.ViewGroup.focusableViewAvailable(ViewGroup.java:761) at android.view.ViewGroup.focusableViewAvailable(ViewGroup.java:761) at android.view.ViewGroup.focusableViewAvailable(ViewGroup.java:761) at android.view.ViewGroup.focusableViewAvailable(ViewGroup.java:761) at android.view.View.setFlags(View.java:10565) at android.view.View.setFocusableInTouchMode(View.java:7508) at android.widget.AdapterView.checkFocus(AdapterView.java:744) at android.widget.AdapterView$AdapterDataSetObserver.onChanged(AdapterView.java:839) at android.widget.AbsListView$AdapterDataSetObserver.onChanged(AbsListView.java:6203) at android.database.DataSetObservable.notifyChanged(DataSetObservable.java:37) at android.widget.BaseAdapter.notifyDataSetChanged(BaseAdapter.java:50) at android.widget.ArrayAdapter.notifyDataSetChanged(ArrayAdapter.java:301) at android.widget.ArrayAdapter.add(ArrayAdapter.java:197) at cgeo.geocaching.staticmaps.StaticMapsActivity$LoadMapsThread.run(StaticMapsActivity.java:100)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    ReichReich
    Once,
    Indri YunitaIndri Yunita
    2 times, last one
    Unknown visitor
    Unknown visitorOnce,
    filpgamefilpgame
    7 times, last one
    DonsyDonsy
    4 times, last one
    28 more bugmates