- SDK Version: 39.0.5 & 40.0.1
- Platforms: Android
In Expo SDK 39 & Android device, I got force closed (crash) after changing system font size or using split screen.
Updated:
After built & tested, it works great on Expo SDK 37 & 38 & 41, but crash on Expo SDK 39 & 40.
Reproduced demo:
I made a pure demo app with expo init --template tabs@sdk-39
, and build & install the signed APK.
Please see the videos below:
Device: Google Pixel 5
Device: ASUS ZenFone 4
Please help me to fix this error, thank you!
Update:
The native crash log:
java.lang.RuntimeException:
at android.app.ActivityThread.performResumeActivity (ActivityThread.java:4657)
at android.app.ActivityThread.handleResumeActivity (ActivityThread.java:4690)
at android.app.servertransaction.ResumeActivityItem.execute (ResumeActivityItem.java:52)
at android.app.servertransaction.TransactionExecutor.executeLifecycleState (TransactionExecutor.java:176)
at android.app.servertransaction.TransactionExecutor.execute (TransactionExecutor.java:97)
at android.app.ActivityThread$H.handleMessage (ActivityThread.java:2267)
at android.os.Handler.dispatchMessage (Handler.java:107)
at android.os.Looper.loop (Looper.java:237)
at android.app.ActivityThread.main (ActivityThread.java:8167)
at java.lang.reflect.Method.invoke (Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:496)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1100)
Caused by: java.lang.RuntimeException:
at host.exp.exponent.experience.q.F (BaseExperienceActivity.java:7)
at host.exp.exponent.experience.a.run (Unknown Source:2)
at android.app.Activity.runOnUiThread (Activity.java:6980)
at host.exp.exponent.experience.q.E (BaseExperienceActivity.java:2)
at host.exp.exponent.experience.q.onResume (BaseExperienceActivity.java:5)
at host.exp.exponent.experience.ExperienceActivity.onResume (ExperienceActivity.java:1)
at android.app.Instrumentation.callActivityOnResume (Instrumentation.java:1454)
at android.app.Activity.performResume (Activity.java:8111)
at android.app.ActivityThread.performResumeActivity (ActivityThread.java:4647)