React-native building

Why can"t the react-native I built run on the simulator? as soon as it runs, it will report a red screen

.

the environment of the project has been set up, and react-native start can also run normally, that is, running react-native run-android Times is wrong, and the version of
adb is all corresponding to good, ask God to teach!

`

{
  "name": "nativetest",
  "version": "0.0.1",
  "private": true,
  "scripts": {
    "start": "node node_modules/react-native/local-cli/cli.js start",
    "test": "jest"
  },
  "dependencies": {
    "react": "16.4.1",
    "react-native": "0.56.0"
  },
  "devDependencies": {
    "babel-jest": "23.4.2",
    "babel-preset-react-native": "5",
    "jest": "23.4.2",
    "react-test-renderer": "16.4.1"
  },
  "jest": {
    "preset": "react-native"
  }
}

`

Menu