animated `useNativeDriver` is not supported because the native animated module is missing

前端之家收集整理的这篇文章主要介绍了animated `useNativeDriver` is not supported because the native animated module is missing前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

今天一个react native android项目在适配ios时,点击按钮时会出现警告

animated  `useNativeDriver` is not supported because the native animated module is missing

解决办法:

在项目根目录命令行执行:

react-native link react-native
原文链接:https://www.f2er.com/react/305197.html

猜你在找的React相关文章