以前,它可以在两个平台上运行。 iOs仍然可以,但是android有问题,请寻求帮助。 尝试过这些命令react-native链接,react-native链接react-native-gesture-handler,react-native start --reset-cache没有帮助。
"dependencies": {
"@react-native-community/masked-view": "^0.1.9",
"@react-navigation/drawer": "^5.5.0",
"@react-navigation/native": "^5.1.6",
"react": "16.11.0",
"react-native": "0.62.2",
"react-native-exit-app": "^1.1.0",
"react-native-gesture-handler": "^1.6.1",
"react-native-reanimated": "^1.8.0",
"react-native-router-flux": "^4.2.0",
"react-native-safe-area-context": "^0.7.3",
"react-native-screens": "^2.5.0",
"react-native-vector-icons": "^6.6.0",
"react-navigation": "^4.3.7",
"react-navigation-stack": "^2.3.12"
},
错误:始终违反:模块RCTEventEmitter未注册可调用模块(调用接收Touches)