我正在尝试在visual studio代码中使用react本机图像拾取器。
尝试链接图像选择器"npx react-native link react-native- image - picker“及其链接成功的步骤,但当我运行我的项目时,我得到以下错误:
Error: react-native-image-picker: NativeModule.ImagePickerManager is null. To fix this issue try these steps:
• Run `react-native link react-native-image-picker` in the project root.
• Rebuild and re-run the app.发布于 2021-01-15 00:48:30
出现此错误的原因主要有两个:
下面的链接- https://github.com/react-native-image-picker/react-native-image-picker/issues/1137中给出了一些解决方案
https://stackoverflow.com/questions/64442984
复制相似问题