-
Notifications
You must be signed in to change notification settings - Fork 291
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Android Fatal Native Exception #220
Comments
Same issue, I reported it here : lawnstarter/react-native-picker-select#422 |
@sylvainbaronnet Your issue has a lot more info in it, I'll close mine in favor of yours. |
@kevinvangelder I recommend you to keep it opens because mine is on another package |
Are you using this with |
You save me 👍 |
@natwallbank Yes I am, thanks for the info. |
Sadly, this fix doesn't work for me as the picker is in a MaterialTopTabNavigator and |
Is that MaterialTopTabNavigator referenced as a Screen? If so, you can supply it as |
@natwallbank Good thought. I gave that a shot and I'm still getting the native exception. |
I can confirm the issue, I just update my app and the test start to fail. |
I am facing the same issue. Have you guys have found any solution? "react": "17.0.1" |
After lots of hours facing this issue our team discovered that in our case this package "react-native-snap-carousel" was causing the issue, I am not sure yet why but we deleted the carousel component and pickers of all the screens worked again. The really weird thing is that we used carousel package on different screens than pickers but when we go to any carousel view and return to picker view it fails. |
I also use |
@sylvainbaronnet react-native-snap-carousel is causing that bug on the repository it has not been updated since May 2020, so we decided to use react-native-swiper-flatlist and react-native-fast-image instead our app is running again and pickers are working as is expected. Maybe for others facing this bug, the problem is in another depreciated package. |
@jonra1993 Thanks a lot for the recommendation |
I am facing the same issue. Has anybody found any solution? "react": "17.0.1" I tried the approach mentioned by @natwallbank but it did not fix the issue. |
I am not using any kind of carousel, swipe, or moving component to affect or interfere with the picker itself. Picker's inside a View and that View inside a stack. "react": "16.13.1", |
I have the same problem with my project. Also, I use |
Awesome 🙇 |
Hi all the problem is from react-native and they are working on a fix. Basically their problem is because they try to use the id of the inflated picker while it is not set. If it is of any use to someone, I temporarily fixed the problem on my project by making the following modifications In TextViewImpl.java and CheckedTextViewImpl.java
In ReactPickerManager.java
It definitely is a bypass that should not be included in the sources but it solves the issue without changing used packages |
@mbouxin Do you happen to have an issue we can track on this? |
|
|
Here is the commit that will be cherry picked for .64.2 facebook/react-native@b0e8c1e |
thank you, you save me |
@kevinvangelder this is close-able react-native 0.64.2 is out with the fix for this included |
This was a bug on React Native's side, should be fixed on React Native 0.64.2 |
When attempting to open the picker on Android, I get:
React: 17.0.1
React Native: 0.64.0-rc4
React Native Picker: 1.9.11
The text was updated successfully, but these errors were encountered: