我正在尝试在Android设备上执行react-native项目,但是由于某些原因,它对我不起作用。
请在下面找到项目中已使用的依赖项:
"dependencies": {
"firebase": "^5.0.3",
"lodash": "^4.17.11",
"prop-types": "^15.6.2",
"react": "16.4.1",
"react-native": "0.56.0",
"react-native-elements": "^0.19.1",
"react-native-firebase": "^5.3.1",
"react-native-iphone-x-helper": "^1.2.0",
"react-native-keyboard-aware-scroll-view": "^0.8.0",
"react-native-loading-spinner-overlay": "^1.0.1",
"react-native-modal-datetime-picker": "^7.4.0",
"react-native-navigation": "^2.3.0",
"react-native-secure-key-store": "^2.0.2",
"react-native-segmented-control-tab": "^3.3.1",
"react-native-size-matters": "^0.2.1",
"react-native-svg": "6.5.3",
"react-native-svg-charts": "^5.2.0",
"react-native-tabbar-bottom": "^1.0.4",
"react-native-vector-icons": "^6.1.0",
"react-redux": "^6.0.0",
"redux": "^4.0.1"
},
"devDependencies": {
"babel-jest": "23.6.0",
"babel-polyfill": "^6.26.0",
"babel-preset-react-native": "5.0.2",
"jest": "23.6.0",
"react-test-renderer": "16.4.1"
},
"jest": {
"preset": "react-native"
}
注意:这在模拟器上工作正常。我试图避免使用仿真器,因为它使用起来太慢。