Standalone app crashing on Android 9

My production app has started crashing for Android 9 users. (standard expo project SDK 30.0.0). I’m pretty sure this only started to occur since I upgraded my Expo app to SDK 30.0.0

Bug report from Google Play Console:
java.lang.IllegalStateException
host.exp.exponent.experience.a.j

java.lang.RuntimeException :
at android.app.ActivityThread.performResumeActivity (ActivityThread.java:3919)
at android.app.ActivityThread.handleResumeActivity (ActivityThread.java:3951)
at android.app.servertransaction.ResumeActivityItem.execute (ResumeActivityItem.java:51)
at android.app.servertransaction.TransactionExecutor.executeLifecycleState (TransactionExecutor.java:145)
at android.app.servertransaction.TransactionExecutor.execute (TransactionExecutor.java:70)
at android.app.ActivityThread$H.handleMessage (ActivityThread.java:1906)
at android.os.Handler.dispatchMessage (Handler.java:106)
at android.os.Looper.loop (Looper.java:193)
at android.app.ActivityThread.main (ActivityThread.java:6863)
at java.lang.reflect.Method.invoke (Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:537)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:858)

Caused by: java.lang.IllegalStateException :
at android.app.ContextImpl.startServiceCommon (ContextImpl.java:1595)
at android.app.ContextImpl.startService (ContextImpl.java:1550)
at android.content.ContextWrapper.startService (ContextWrapper.java:664)
at host.exp.exponent.experience.a.j (BaseExperienceActivity.java:264)
at host.exp.exponent.experience.ExperienceActivity.onResume (ExperienceActivity.java:261)
at android.app.Instrumentation.callActivityOnResume (Instrumentation.java:1514)
at android.app.Activity.performResume (Activity.java:7305)
at android.app.ActivityThread.performResumeActivity (ActivityThread.java:3911)

Similar issues that were unresolved:

1 Like

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