Add react-native-sqlite-2 to your dependencies: $ npm install react-native-sqlite-2 --save Link native dependencies From react-native 0.60 autolinking will take care of the link step but don't forget to runpod install. $ react-native link react-native-sqlite-2 ...
将react-native-sqlite-2添加到依赖项: $ npm install react-native-sqlite-2 --save 链接本机依存关系 从react-native0.60开始,自动链接将负责链接步骤,但不要忘记运行pod install。 $ react-native link react-native-sqlite-2 iOS/macOS 如果在ios/目录中使用cocoapods,请运行 $ pod install Android 请...