java.lang.IllegalArgumentException

You must call this method on the main thread

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 web9

  • via GitHub by TomHennen
    ,
  • via GitHub by abuddy
    ,
  • Stack trace

    • java.lang.IllegalArgumentException: You must call this method on the main thread at com.bumptech.glide.util.Util.assertMainThread(Util.java:135) at com.bumptech.glide.GenericRequestBuilder.into(GenericRequestBuilder.java:642) at com.mgaetan89.showsrage.helper.ImageLoader.load(ImageLoader.kt:39) at com.mgaetan89.showsrage.widget.HistoryWidgetFactory.getViewAt(HistoryWidgetFactory.kt:43) at android.widget.RemoteViewsService$RemoteViewsFactoryAdapter.getViewAt(RemoteViewsService.java:164) at com.android.internal.widget.IRemoteViewsFactory$Stub.onTransact(IRemoteViewsFactory.java:85) at android.os.Binder.execTransact(Binder.java:453)

    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

    bayukresnobayukresno
    8 times, last one