无法使用-variant = release运行我的应用,立即崩溃

时间:2019-10-22 08:50:39

标签: react-native release

我正在创建一个相当小的应用程序,使用简单的组件(如Flatlist,Image和Searchbar)创建3个屏幕。除了我尝试使用--variant = release进行测试外,它运行得很好。

我已经完成了签名过程,我可以确认这部分工作正常,因为我已经在Google Beta中成功部署了我的应用程序(只是看到了Google的测试报告,显示我的应用程序在所有模拟器上都崩溃了。)

我还尝试了在Google上可以找到的所有内容(清理,重置缓存,将所有内容升级到最新版本,甚至从头开始我的项目并复制并粘贴我的src文件夹)。

这是我的package.json,万一我的依赖项出了问题,我看不到:

O(n^2)

这是我启动应用程序时logcat文件的摘录:

  "dependencies": {
    "@react-native-community/async-storage": "^1.6.2",
    "axios": "^0.19.0",
    "he": "^1.2.0",
    "moment": "^2.24.0",
    "react": "16.9.0",
    "react-native": "0.61.2",
    "react-native-device-info": "^4.0.1",
    "react-native-elements": "^1.2.6",
    "react-native-extended-stylesheet": "^0.12.0",
    "react-native-fast-image": "^7.0.2",
    "react-native-gallery-swiper": "^1.23.1",
    "react-native-gesture-handler": "^1.4.1",
    "react-native-reanimated": "^1.3.0",
    "react-native-vector-icons": "^6.6.0",
    "react-navigation": "^4.0.10",
    "react-navigation-drawer": "^2.2.2",
    "react-navigation-hooks": "^1.1.0",
    "react-navigation-stack": "^1.9.4",
    "react-redux": "^7.1.1",
    "redux": "^4.0.4",
    "redux-devtools-extension": "^2.13.8",
    "redux-persist": "^6.0.0",
    "redux-thunk": "^2.3.0"
  },
  "devDependencies": {
    "@babel/core": "^7.6.4",
    "@babel/runtime": "^7.6.3",
    "@react-native-community/eslint-config": "^0.0.5",
    "babel-jest": "^24.9.0",
    "eslint": "^6.5.1",
    "jest": "^24.9.0",
    "metro-react-native-babel-preset": "^0.56.0",
    "react-test-renderer": "16.9.0"
  },
  "jest": {
    "preset": "react-native"
  }

如您所见,它显示了一些错误,但是到目前为止,我无法将它们追溯到我可以进行的工作,因此,请大家帮忙,我很拼命。

谢谢

0 个答案:

没有答案