RN 问题集
Animated: `useNativeDriver` is not supported because the native animated module is missing. Falling back to JS-based animation. To resolve this, add `RCTAnimation` module to this app, or remove `useNativeDriver`. More info: https://github.com/facebook/react-native/issues/11094#issuecomment-263240420
原因:
添加 RCTAnimation 依赖,添加相关依赖即可。
解决方案:
在工程目录执行下执行如下命令即可:
react-native link react-native
或者参考之前缺少 ART库的,重新引入。
The development server returned response error code: 500
解决方案:
yarn remove babel-preset-react-native
yarn add babel-preset-react-native@2.1.0