facebook / react-native

A framework for building native applications using React
https://reactnative.dev
MIT License
119.26k stars 24.34k forks source link

Android app crash on multiple time click of button.Unable to find JSIModule for class UIManager issue. #31595

Closed Manisha-Bacancy closed 11 months ago

Manisha-Bacancy commented 3 years ago

React native android app crash on multiple time click of button. getting java.lang.IllegalArgumentException: Unable to find JSIModule for class UIManager issue.

Description

First i have updated react-native version from 0.63.0 to 0.64.0 then after i have getting following error in react native android when i click on any button multiple time i m getting java.lang.IllegalArgumentException: Unable to find JSIModule for class UIManager error

React Native version:

System: OS: macOS 10.15.7 CPU: (4) x64 Intel(R) Core(TM) i5-4278U CPU @ 2.60GHz Memory: 50.10 MB / 8.00 GB Shell: 3.2.57 - /bin/bash Binaries: Node: 14.14.0 - /usr/local/bin/node Yarn: 1.22.10 - /usr/local/bin/yarn npm: 6.14.8 - /usr/local/bin/npm Watchman: 4.9.0 - /usr/local/bin/watchman Managers: CocoaPods: 1.10.1 - /usr/local/bin/pod SDKs: iOS SDK: Platforms: iOS 13.7, DriverKit 19.0, macOS 10.15, tvOS 13.4, watchOS 6.2 Android SDK: API Levels: 21, 22, 23, 24, 25, 26, 27, 28, 29, 30 Build Tools: 28.0.3, 29.0.2, 29.0.3, 30.0.2, 30.0.3 System Images: android-27 | Google APIs Intel x86 Atom, android-30 | Google Play Intel x86 Atom Android NDK: Not Found IDEs: Android Studio: 4.0 AI-193.6911.18.40.6626763 Xcode: 11.7/11E801a - /usr/bin/xcodebuild Languages: Java: 1.8.0_265 - /usr/bin/javac npmPackages: @react-native-community/cli: Not Found react: 17.0.1 => 17.0.1 react-native: 0.64.0 => 0.64.0 react-native-macos: Not Found npmGlobalPackages: react-native: Not Found

-----------Library used in my app------- "@react-native-async-storage/async-storage": "^1.15.2", "@react-native-community/clipboard": "^1.5.1", "@react-native-community/datetimepicker": "^3.0.4", "@react-native-community/geolocation": "^2.0.2", "@react-native-community/masked-view": "^0.1.10", "@react-native-community/netinfo": "^5.9.7", "@react-native-community/push-notification-ios": "^1.7.3", "@react-native-firebase/admob": "^10.0.0", "@react-native-firebase/app": "^10.0.0", "@react-native-firebase/messaging": "^10.0.0", "@twotalltotems/react-native-otp-input": "^1.3.11", "add": "^2.0.6", "apisauce": "^1.1.1", "enzyme": "^3.11.0", "enzyme-adapter-react-16": "^1.15.2", "format-json": "^1.0.3", "identity-obj-proxy": "^3.0.0", "lodash": "^4.17.20", "moment": "^2.29.1", "moment-timezone": "^0.5.32", "prop-types": "^15.7.2", "querystringify": "^2.1.1", "ramda": "^0.27.1", "ramdasauce": "^2.1.3", "react": "17.0.1", "react-nativ-broadcast-messages": "0.0.2", "react-native": "0.64.0", "react-native-actionsheet": "^2.4.2", "react-native-admob": "^2.0.0-beta.6", "react-native-android-location-services-dialog-box": "^2.8.2", "react-native-calendars": "^1.403.0", "react-native-config": "^0.12.0", "react-native-device-info": "^7.3.1", "react-native-document-picker": "^4.1.0", "react-native-draggable-flatlist": "^2.5.0", "react-native-dropdown-picker": "^3.7.1", "react-native-gesture-handler": "^1.9.0", "react-native-i18n": "2.0.14", "react-native-image-crop-picker": "^0.36.1", "react-native-keyboard-aware-scroll-view": "^0.9.3", "react-native-keyboard-manager": "^4.0.13-16", "react-native-localize": "^2.0.1", "react-native-modal": "^11.5.6", "react-native-modal-datetime-picker": "^9.0.0", "react-native-paper": "^4.2.0", "react-native-push-notification": "^6.1.2", "react-native-reanimated": "^1.13.1", "react-native-safe-area-context": "^3.0.7", "react-native-safe-area-view": "^1.1.1", "react-native-screens": "^2.9.0", "react-native-simple-dialogs": "^1.4.0", "react-native-sortable-list": "^0.0.24", "react-native-splash-screen": "^3.2.0", "react-native-star-rating": "^1.1.0", "react-native-swipe-list-view": "^3.2.5", "react-native-swipeable": "^0.6.0", "react-native-swipeable-item": "^1.5.2", "react-native-tag-autocomplete": "^1.0.22", "react-native-tags-input": "^1.0.10", "react-native-tracking-transparency": "^0.1.1", "react-native-vector-icons": "^7.1.0", "react-navigation": "^4.4.3", "react-navigation-redux-helpers": "^4.0.1", "react-navigation-stack": "^1.10.3", "react-navigation-tabs": "^2.5.6", "react-redux": "^7.1.3", "redux": "^4.0.4", "redux-form": "^8.3.6", "redux-persist": "^5.10.0", "redux-saga": "^1.1.3", "reduxsauce": "^1.1.1", "seamless-immutable": "^7.1.4", "yarn": "^1.22.10"

Steps To Reproduce

Provide a detailed list of steps that reproduce the issue.

1.Update react native version from 0.63.0 to 0.64.0 2.React-native run-android after app successfully run multiple time click on any button app crash

Expected Results

The app should work when click on multiple time on any button.

cortinico commented 11 months ago

Closing as no repro was provided