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 'useNati

"react-native":"^0.39.2"


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 'useNati_第1张图片


警告:

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'


解决方案:

1. addFileTo:
工程目录/node_modules/react-native/Libraries/NativeAnimation/RCTAnimation.xcodeproj

2. 在 "Build Phases"的"Link Binary With Libraries"中

add   libRCTAnimation.a

你可能感兴趣的:(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 'useNati)