ios - React Native 线性渐变包在 IOS 上不起作用
问题描述
我正在尝试使用这个包
https://github.com/react-native-community/react-native-linear-gradient
对于 ios 我遵循了这些步骤;npm i --save react-native-linear-gradient react-native 链接
然后我重新启动了我的打包程序并运行 react-native run-ios App works。然后我像这样导入包
import RNAccountKit from 'react-native-facebook-account-kit';
然后应用程序失败。
这是问题的详细信息; https://github.com/react-native-community/react-native-linear-gradient/issues/323
有任何想法吗 ?
解决方案
而不是自动安装尝试手动安装,然后再试一次
推荐阅读
- java - 使用 Selenium 上传 APK 文件
- node.js - 如何使用具有不同查询参数的相同路由
- java - 如何使用icu4j在java中将单词转换为数字
- android - 将 Firebase 添加到我的 Android 项目时出错
- reactjs - React Google Analytics - 如何检查是否已初始化?
- python - 硒复选框单击在python中不起作用
- hangfire - 如何让 Hangfire 挑选工作在最后一小时内排队?
- php - 我如何在同一服务器和域上运行 php 和 django
- c++ - 编译器何时自动调用移动语义?
- rust - 包含用于初始化 Trie 结构的大型源文件的 Rust crate 无法编译 (OOM)