构建使用react-native构建的android应用时出错

时间:2018-07-30 19:20:02

标签: react-native gradle expo

这是我几天前遇到的数百万个错误中的一个错误=解决导致新错误的任何错误!!!

下面的图片附带的错误

这是我的package.json

{
  "name": "taplot",
  "version": "0.0.1",
  "private": true,
  "scripts": {
    "start": "node node_modules/react-native/local-cli/cli.js start",
    "test": "jest"
  },
  "dependencies": {
    "axios": "^0.18.0",
    "expo": "^29.0.0",
    "native-base": "^2.7.2",
    "react": "16.4.1",
    "react-native": "^0.55.0",
    "react-native-easy-grid": "^0.2.0",
    "react-native-flags": "^1.0.0",
    "react-native-icon-badge": "^1.1.3",
    "react-native-public-ip": "^1.0.0",
    "react-native-toaster": "^1.2.2",
    "react-navigation": "^2.9.3"
  },
  "devDependencies": {
    "babel-jest": "23.4.2",
    "babel-preset-react-native": "5.0.2",
    "jest": "23.4.2",
    "react-test-renderer": "16.4.1"
  },
  "jest": {
    "preset": "react-native"
  }
}

enter image description here

1 个答案:

答案 0 :(得分:0)

我认为您需要将expokit添加到您的项目:https://docs.expo.io/versions/latest/guides/expokit.html