React本地Android应用程序在发布模式下崩溃。我无法发现问题,这里的修复是所使用的依赖项。
{
"dependencies": {
"@react-native-community/async-storage": "^1.12.1",
"@react-native-community/datetimepicker": "^3.5.2",
"@react-native-community/masked-view": "^0.1.11",
"@react-native-community/netinfo": "^7.1.7",
"@react-native-firebase/app": "^12.9.0",
"@react-native-firebase/dynamic-links": "^12.9.2",
"@react-native-firebase/messaging": "^12.9.0",
"@react-native-google-signin/google-signin": "^6.0.0",
"@react-native-picker/picker": "^2.4.1",
"@react-navigation/bottom-tabs": "^5.11.10",
"@react-navigation/native": "^5.9.4",
"@react-navigation/stack": "^5.14.4",
"axios": "^0.21.1",
"moment": "^2.29.1",
"native-base": "^2.15.2",
"patch-package": "^6.4.7",
"postinstall-postinstall": "^2.1.0",
"radio-buttons-react-native": "^1.0.4",
"react": "17.0.2",
"react-hook-form": "^7.20.5",
"react-native": "0.67.3",
"react-native-app-intro-slider": "^4.0.4",
"react-native-bootsplash": "^3.2.4",
"react-native-camera": "^4.0.0",
"react-native-date-picker": "^4.1.2",
"react-native-elements": "^3.4.2",
"react-native-fast-image": "^8.5.11",
"react-native-image-crop-picker": "^0.36.2",
"react-native-image-picker": "^4.7.3",
"react-native-image-zoom-viewer": "^3.0.1",
"react-native-keyboard-aware-scroll-view": "^0.9.4",
"react-native-modal": "^13.0.0",
"react-native-multiple-select": "^0.5.6",
"react-native-navigation-bar-color": "^2.0.1",
"react-native-picker-select": "6.6.0",
"react-native-progress": "^5.0.0",
"react-native-reanimated": "^2.1.0",
"react-native-safe-area-context": "^3.2.0",
"react-native-screens": "^3.1.1",
"react-native-story": "^0.1.3",
"react-native-svg": "^12.1.1",
"react-native-swiper": "^1.6.0",
"react-native-textarea": "^1.0.4",
"react-native-url-preview": "^1.1.9",
"react-native-vector-icons": "^8.1.0",
"react-native-video": "^5.2.0",
"react-native-webview": "^11.16.0",
"react-native-windows": "0.41.0-rc.1",
"react-native-youtube-iframe": "^2.2.2",
"react-redux": "^7.2.6",
"react-use-websocket": "^2.7.1",
"redux": "^4.1.2",
"rn-fetch-blob": "^0.12.0",
"socket.io-client": "^4.2.0",
"zego-express-engine-reactnative": "^0.17.3"
},
"devDependencies": {
"@babel/core": "^7.14.0",
"@babel/runtime": "^7.14.0",
"@bam.tech/react-native-make": "^3.0.3",
"@react-native-community/eslint-config": "^2.0.0",
"babel-jest": "^26.6.3",
"eslint": "^7.25.0",
"jest": "^26.6.3",
"metro-react-native-babel-preset": "^0.66.0",
"react-test-renderer": "16.13.1",
"reactotron-react-native": "^5.0.0"
}
}发布于 2022-05-09 19:03:00
在发布模式下,您仍然可以检查日志。您可以使用android日志来查看所有的移动日志。过滤日志,以便更容易地找到问题,并查找日志中的“由”关键字引起的问题。
https://stackoverflow.com/questions/72176341
复制相似问题