Android emulator no stack error

Please provide the following:

  1. SDK Version: 45
  2. Platforms(Android/iOS/web/all): Android
  3. 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

Works after a system reboot… still no idea what the original crash was

Roy-IT-Crowd-turn-it-on-off-again - BetterCloud

2 Likes

Btw, the SDK version is something like 46 or 45. Basically the first part of the version of the expo dependency in your app. Not the expo-cli version :slight_smile:

Ah, thanks