The following error occurs after opening a project in Expo Go app (Android) using QR code scan. The app crashes and I get to see the more detailed error from Android’s native ‘Expo Go keeps stopping’ dialog.
java.lang.NullPointerException: Attempt to invoke virtual method 'boolean expo.modules.updates.manifest.raw.RawManifest.isDevelopmentMode()' on a null object reference at host.exp.exponent.experience.ExperienceActivity.c(ExperienceActivity.java:1)
The app, cli and SDK should all be latest versions.
In fact the project I’m working on stopped working only after I updated Expo Go from the Play Store. After that I tried to update the cli and SDK to the latest ones as well. However, the problem seems to now occur even for a blank project created by ‘expo init’.
- “expo”: “~42.0.0”
- Client version: 2.21.4
I’ve tried to reinstall Expo Go app many times.
Device is OnePlus3.