App crashes in android - bug
See original GitHub issueDescribe the bug
ERROR Warning: Picker has been extracted from react-native core and will be removed in a future release. It can now be installed and imported from ‘@react-native-community/picker’ instead of ‘react-native’. See https://github.com/react-native-community/react-native-picker
RNPickerSelect@http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:461777:36
To Reproduce
Steps to reproduce the behavior:
- Go to the screen where we have this
RNPickerSelect
implementation - Then the app crashes immediately
- See error:
ERROR Warning: Picker has been extracted from react-native core and will be removed in a future release. It can now be installed and imported from ‘@react-native-community/picker’ instead of ‘react-native’. See https://github.com/react-native-community/react-native-picker
RNPickerSelect@
http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:461777:36
Expected behavior
The RNPickerSelect should work fine like in IOS. But for IOS also has the same error.
ExceptionsManager.js:179 Warning: Picker has been extracted from react-native core and will be removed in a future release. It can now be installed and imported from ‘@react-native-community/picker’ instead of ‘react-native’. See https://github.com/react-native-community/react-native-picker
at RNPickerSelect (http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false:458383:36
)
Screenshots
App crashes
Additional details
- Device: [e.g. Samsung S8]
- OS: [e.g. android 9]
- react-native-picker-select version: [e.g. ^6.3.3]
- react-native version: [e.g. 0.63.2]
Issue Analytics
- State:
- Created 3 years ago
- Comments:11 (1 by maintainers)
Top GitHub Comments
I resolved that issue by upgrading react-native package to 0.64.2
I have this package versions:
Facing same issue, have tried all solutions above, but the error keeps happening