java.lang.IllegalStateException

Must be called from the main thread. Was: Thread[RxIoScheduler-2,5,main]

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

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

Solutions on the web16543

  • Must be called from the main thread. Was: Thread[RxIoScheduler-2,5,main]
  • Must be called from the main thread. Was: Thread[RxIoScheduler-2,5,main]
  • via GitHub by schrej
    , 7 months ago
    Must be called from the main thread.
  • Stack trace

    • java.lang.IllegalStateException: Must be called from the main thread. Was: Thread[RxIoScheduler-2,5,main] at com.jakewharton.rxbinding.internal.Preconditions.checkUiThread(Preconditions.java:35) at com.jakewharton.rxbinding.support.v7.widget.SearchViewQueryTextChangesOnSubscribe.call(SearchViewQueryTextChangesOnSubscribe.java:18) at com.jakewharton.rxbinding.support.v7.widget.SearchViewQueryTextChangesOnSubscribe.call(SearchViewQueryTextChangesOnSubscribe.java:10)

    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

    13 times, 1 year ago