question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

App crashes in android - bug

See original GitHub issue

Describe 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:

  1. Go to the screen where we have this RNPickerSelect implementation
  2. Then the app crashes immediately
  3. 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:closed
  • Created 3 years ago
  • Comments:11 (1 by maintainers)

github_iconTop GitHub Comments

6reactions
mchamorro7commented, Nov 18, 2021

Still app is crashing. I installed both packages - “@react-native-picker/picker” and “react-native-picker-select”. Once I click the picker, app crashes. Why this is happening?

Same here. Have you resolved it?

I resolved that issue by upgrading react-native package to 0.64.2

I have this package versions:

5reactions
feliciovcmcommented, Dec 11, 2021

Facing same issue, have tried all solutions above, but the error keeps happening

Read more comments on GitHub >

github_iconTop Results From Across the Web

Detect and diagnose crashes - Android Developers
An Android app crashes whenever there's an unexpected exit caused by an unhandled exception or signal. An app that is written using Java...
Read more >
Why do my apps keep crashing on Android, How to fix it
1. Force stop the app · 2. Restart the device · 3 . Clear app data · 4. Reinstall the app · 5....
Read more >
8 Ways to Fix Android Apps Crashing - MakeUseOf
1. Check the Internet Connection · 2. Restart the Crashing App · 3. Restart Your Device · 4. Check the App for Updates...
Read more >
Why Do My Apps Keep Crashing on Android? - Avast
Apps on Android can crash because of low storage space, too many apps running simultaneously, a weak internet connection, or not having the ......
Read more >
How to get Android App Crash Logs? | BrowserStack
Bug Report Feature · Go to Android device Settings and enable Developer Options. · Now go to the System option and click on...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found