运行远程调试器JS时如何解决应用程序强制关闭的问题?

时间:2019-06-21 03:20:03

标签: react-native react-native-android

在添加此软件包“ react-native-swiper-flatlist”之前:“ ^ 1.0.10”。 我可以无后顾之忧地运行调试器,但是通常我的应用由于在模拟器中打开而在一段时间后强制关闭。在上面添加了一个程序包之后,当我在Windows上运行远程JS调试器时,在启动屏幕转到我的主页后,突然强制关闭仅需5秒钟。这使我很难调试。有什么问题吗?

这是我对package.json的敬意

"dependencies": {
    "@react-native-community/async-storage": "^1.3.3",
    "@react-native-community/viewpager": "^1.1.6",
    "native-base": "^2.12.1",
    "react": "16.8.3",
    "react-native": "^0.59.5",
    "react-native-banner-carousel": "^1.0.3",
    "react-native-check-box": "^2.1.7",
    "react-native-datepicker": "^1.7.2",
    "react-native-display": "^1.0.8",
    "react-native-elements": "^1.1.0",
    "react-native-icon-badge": "^1.1.3",
    "react-native-image-picker": "^0.28.1",
    "react-native-loading-spinner-overlay": "^1.0.1",
    "react-native-masked-text": "1.9.2",
    "react-native-modal": "^9.0.0",
    "react-native-onesignal": "^3.2.12",
    "react-native-phone-call": "^1.0.9",
    "react-native-router-flux": "^4.0.6",
    "react-native-segmented-control-tab": "^3.4.0",
    "react-native-simple-radio-button": "^2.7.3",
    "react-native-swiper": "^1.5.14",
    "react-native-swiper-flatlist": "^1.0.10",
    "react-native-vector-icons": "^6.4.2",
    "react-number-format": "^4.0.7",
    "react-redux": "^7.0.2",
    "redux": "^4.0.1",
    "redux-devtools-extension": "^2.13.8",
    "redux-thunk": "^2.3.0"
  },
  "devDependencies": {
    "@babel/core": "^7.4.3",
    "@babel/runtime": "^7.4.3",
    "babel-jest": "^24.7.1",
    "jest": "^24.7.1",
    "metro-react-native-babel-preset": "^0.53.1",
    "react-test-renderer": "16.8.3"

0 个答案:

没有答案