[Android] App only runs when 'Debug JS Remotely' is on

I’ve ejected to ExpoKit, but now when I attempt to run the app using the Android Studio emulator or a physical android device I get an error message that says:

Unexpected token '...'. Expected a property name.


The error message indicates the problem might be within node_modules/expo/AppEntry.bundle?platform=android&dev=true&minify=false&hot=false&assetPlugin= … hashAssetFiles.js:201875

What astounds me is that when I toggle the developer menu and select ‘Debug JS Remotely’, the app works!

Does anyone have any idea why this might be, and/or have suggestions for possible fixes? Will I need to update expo / expokit?

I need to resolve this because my production APK is throwing the same error (after first displaying the blue "Something went wrong’ screen), and there’s no way to toggle ‘Debug Remote JS’ from a production app.

Here’s my package.json:

  "name": "empty-project-template",
  "main": "node_modules/expo/AppEntry.js",
  "private": true,
  "scripts": {
    "start": "expo start",
    "android": "expo start --android",
    "ios": "expo start --ios",
    "eject": "expo eject"
  "dependencies": {
    "expo": "^30.0.2",
    "expokit": "1.7.1",
    "firebase": "^5.7.3",
    "moment": "^2.23.0",
    "react": "16.3.1",
    "react-native": "https://github.com/expo/react-native/archive/sdk-30.0.0.tar.gz",
    "react-native-circular-progress": "^1.1.0",
    "react-native-popup-dialog": "^0.16.6",
    "react-native-progress": "^3.5.0",
    "react-native-sideswipe": "^1.4.2",
    "react-native-svg": "^7.2.0",
    "react-native-video": "^3.2.1",
    "react-native-video-controls": "^2.2.3",
    "react-navigation": "^2.18.3",
    "react-navigation-transitions": "^1.0.6",
    "react-redux": "^5.1.1",
    "redux": "^4.0.1",
    "redux-persist": "^5.10.0",
    "redux-thunk": "^2.3.0"
  "devDependencies": {
    "babel-plugin-module-resolver": "^3.1.1"

I’ve been troubleshooting this for 3 days now. I greatly appreciate your help. :pray: