首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >SQLite和react-native

SQLite和react-native
EN

Stack Overflow用户
提问于 2020-02-28 17:54:52
回答 1查看 85关注 0票数 0

我遇到了一个小问题,我想使用sqlite和反应本机,我已经遵循了教程,但他们都没有操作。例如,当我必须将以下代码添加到Podfile中时: pod‘https://github.com/andpor/react-native-sqlite-storage’,:pod 'React',:path => '../node_modules/react-native‘pod 'react-native-sqlite-storage',:path => '../node_modules/react-native-sqlite-storage’

然后我转到ios文件,然后进行pud更新,我有这个:enter image description here

然后我继续学习教程:我没有这个:enter image description here

但是这个:enter image description here

所以我需要帮助来解决这些问题。谢谢你的帮助。

EN

回答 1

Stack Overflow用户

发布于 2020-02-28 18:59:49

您在podfile中有重复的react依赖项。删除此行:

代码语言:javascript
复制
pod 'React', :path => '../node_modules/react-native/'

然后使用pod update重试。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/60449242

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档