Android IllegalThreadStateException with SDK 44

Please provide the following:

  1. SDK Version: 44
  2. Platforms(Android/iOS/web/all): Android & iOS
  3. Add the appropriate “Tag” based on what Expo library you have a question on.

Unfortunately I don’t know where is the problem, I got this error in Google Play Developer Console in 3 different apps, built with EAS and SDK 44. Could it be a problem with expo-updates package?

java.lang.IllegalThreadStateException: 
  at java.lang.Thread.start (Thread.java:872)
  at expo.modules.updates.UpdatesController.initializeDatabaseHandler (UpdatesController.kt:59)
  at expo.modules.updates.UpdatesController.start (UpdatesController.kt:205)
  at expo.modules.updates.UpdatesController$Companion.initialize (UpdatesController.kt:448)
  at expo.modules.updates.UpdatesPackage$createReactNativeHostHandlers$handler$1.onWillCreateReactInstanceManager (UpdatesPackage.kt:41)
  at expo.modules.ReactNativeHostWrapper.createReactInstanceManager (ReactNativeHostWrapper.kt:28)
  at com.facebook.react.ReactNativeHost.getReactInstanceManager (ReactNativeHost.java:39)
  at expo.modules.updates.UpdatesUtils.sendEventToReactNative (UpdatesUtils.kt:139)
  at expo.modules.updates.UpdatesController$start$1.onBackgroundUpdateFinished (UpdatesController.kt:254)
  at expo.modules.updates.loader.LoaderTask$launchRemoteUpdateInBackground$1$1.onFailure (LoaderTask.kt:282)
  at expo.modules.updates.loader.Loader.finishWithError (Loader.kt:142)
  at expo.modules.updates.loader.Loader.access$finishWithError (Loader.kt:18)
  at expo.modules.updates.loader.Loader$start$1.onFailure (Loader.kt:94)
  at expo.modules.updates.loader.FileDownloader$downloadManifest$1.onFailure (FileDownloader.kt:266)
  at expo.modules.updates.loader.FileDownloader$downloadData$1.onFailure (FileDownloader.kt:343)
  at okhttp3.RealCall$AsyncCall.execute (RealCall.java:211)
  at okhttp3.internal.NamedRunnable.run (NamedRunnable.java:32)
  at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1167)
  at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:641)
  at java.lang.Thread.run (Thread.java:923)

More details here

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.