React native Version 0.60
中的一个问题
->null is not an object ( evaluating 'RNGestureHandlerModule.Direction')
我在 react-navigation 中使用 react-native-gesture-handler 并运行 react-native run-android 并得到这个 errornull is not an object
( evaluating 'RNGestureHandlerModule.Direction')
请问如何解决?谢谢
最佳答案
你试过吗?这解决了我的问题
- 右键单击库“将文件添加到项目”
- /node_modules/react-native-gesture-handlers/ios/RNGestureHandler.xcodeproj
- 转到构建阶段并添加 libRNGestureHandler.a
- 然后运行应用程序并尝试
关于android - null 不是对象(评估 'RNGestureHandlerModule.Direction' ),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/56969050/