Add the appropriate “Tag” based on what Expo library you have a question on.
I have an expo app that worked earlier today on iOS physical device and Android emulator, however after a crash occurred with no error message, the app no longer works on the Android emulator. Each time I reload the error message is different and looks something like this:
Unexpected string literal "initial". Expected '}' to end an object literal.
Unexpected string literal "initial". Expected '}' to end an object literal.
no stack
no stack
or
Unexpected EOF
Unexpected EOF
no stack
no stack
or
Could not get BatchedBridge, make sure your bundle is packaged correctly
Could not get BatchedBridge, make sure your bundle is packaged correctly
no stack
no stack
or
Unexpected string literal "groups". Expected '}' to end an object literal.
Unexpected string literal "groups". Expected '}' to end an object literal.
no stack
no stack
or
Unexpected string literal "offset-path". Expected either a closing ']' or a ',' following an array element.
The errors seem to be random and unpredictable and uninformative.
The app still works on the iOS Expo Go app, but not on the Android Emulator Expo Go app.
I think it’s related to these issues:
Not sure what the issue is, but it doesn’t seem very common