admin管理员组

文章数量:1391960

I created a brand new react native project on version 0.78.0 to upgrade an old react native project. I installed all the necessary packages from the old project to the new after installations when i try to install the app I face this error in both ios and android. these are all the packages used in my project:

"@invertase/react-native-apple-authentication": "^2.4.0",

"@kingstinct/react-native-healthkit": "^8.5.0",
"@ptomasroos/react-native-multi-slider": "^2.2.2",
"@react-native-async-storage/async-storage": "^2.1.2",
"@react-native-community/datetimepicker": "^8.3.0",
"@react-native-community/netinfo": "^11.4.1",
"@react-native-community/push-notification-ios": "^1.11.0",
"@react-native-firebase/analytics": "^21.11.0",
"@react-native-firebase/app": "^21.11.0",
"@react-native-firebase/crashlytics": "^21.11.0",
"@react-native-firebase/messaging": "21.11.0",
"@react-native-google-signin/google-signin": "^13.2.0",
"@react-native-picker/picker": "^2.11.0",
"@react-navigation/bottom-tabs": "^7.2.1",
"@react-navigation/native": "^7.0.15",
"@react-navigation/stack": "^7.1.2",
"base-64": "^1.0.0",
"deprecated-react-native-prop-types": "^5.0.0",
"email-validator": "^2.0.4",
"get-video-id": "^4.1.7",
"jwt-decode": "^4.0.0",
"moment": "^2.30.1",
"react": "19.0.0",
"react-native": "0.78.0",
"react-native-background-actions": "^4.0.1",
"react-native-background-timer": "^2.4.1",
"react-native-branch": "^6.5.0",
"react-native-chart-kit": "^6.12.0",
"react-native-collapsible": "^1.6.2",
"react-native-device-info": "^14.0.4",
"react-native-dialog": "^9.3.0",
"react-native-disable-battery-optimizations-android": "^1.0.7",
"react-native-draggable-flatlist": "^4.0.1",
"react-native-easy-toast": "^2.3.0",
"react-native-email": "^2.1.0",
"react-native-fast-image": "^8.6.3",
"react-native-fbsdk": "^3.0.0",
"react-native-gesture-handler": "^2.24.0",
"react-native-get-random-values": "^1.11.0",
"react-native-google-mobile-ads": "^14.9.1",
"react-native-iap": "^12.16.2",
"react-native-image-picker": "^8.2.0",
"react-native-image-progress": "^1.2.0",
"react-native-iphone-x-helper": "^1.3.1",
"react-native-keep-awake": "^4.0.0",
"react-native-keyboard-aware-scroll-view": "^0.9.5",
"react-native-keyboard-aware-scrollview": "^2.1.0",
"react-native-link-preview": "^1.4.2",
"react-native-material-menu": "^2.0.0",
"react-native-modal": "^13.0.1",
"react-native-modal-datetime-picker": "^18.0.0",
"react-native-picker-select": "^9.3.1",
"react-native-pull-to-refresh": "^2.1.3",
"react-native-push-notification": "^8.1.1",
"react-native-reanimated": "^3.17.1",
"react-native-safe-area-context": "^5.3.0",
"react-native-screens": "^4.9.1",
"react-native-share": "^12.0.9",
"react-native-share-menu": "^6.0.0",
"react-native-sound": "^0.11.2",
"react-native-splash-screen": "^3.3.0",
"react-native-store-review": "^0.4.3",
"react-native-svg": "^15.11.2",
"react-native-swipeout": "^2.3.6",
"react-native-switch-toggle": "^2.2.1",
"react-native-text-input-mask": "^3.2.0",
"react-native-tts": "^4.1.1",
"react-native-vector-icons": "^10.2.0",
"react-native-version-check": "^3.4.7",
"react-native-watch-connectivity": "^1.1.0",
"react-navigation": "^5.0.0",
"uuid": "^11.1.0"

I created a brand new react native project on version 0.78.0 to upgrade an old react native project. I installed all the necessary packages from the old project to the new after installations when i try to install the app I face this error in both ios and android. these are all the packages used in my project:

"@invertase/react-native-apple-authentication": "^2.4.0",

"@kingstinct/react-native-healthkit": "^8.5.0",
"@ptomasroos/react-native-multi-slider": "^2.2.2",
"@react-native-async-storage/async-storage": "^2.1.2",
"@react-native-community/datetimepicker": "^8.3.0",
"@react-native-community/netinfo": "^11.4.1",
"@react-native-community/push-notification-ios": "^1.11.0",
"@react-native-firebase/analytics": "^21.11.0",
"@react-native-firebase/app": "^21.11.0",
"@react-native-firebase/crashlytics": "^21.11.0",
"@react-native-firebase/messaging": "21.11.0",
"@react-native-google-signin/google-signin": "^13.2.0",
"@react-native-picker/picker": "^2.11.0",
"@react-navigation/bottom-tabs": "^7.2.1",
"@react-navigation/native": "^7.0.15",
"@react-navigation/stack": "^7.1.2",
"base-64": "^1.0.0",
"deprecated-react-native-prop-types": "^5.0.0",
"email-validator": "^2.0.4",
"get-video-id": "^4.1.7",
"jwt-decode": "^4.0.0",
"moment": "^2.30.1",
"react": "19.0.0",
"react-native": "0.78.0",
"react-native-background-actions": "^4.0.1",
"react-native-background-timer": "^2.4.1",
"react-native-branch": "^6.5.0",
"react-native-chart-kit": "^6.12.0",
"react-native-collapsible": "^1.6.2",
"react-native-device-info": "^14.0.4",
"react-native-dialog": "^9.3.0",
"react-native-disable-battery-optimizations-android": "^1.0.7",
"react-native-draggable-flatlist": "^4.0.1",
"react-native-easy-toast": "^2.3.0",
"react-native-email": "^2.1.0",
"react-native-fast-image": "^8.6.3",
"react-native-fbsdk": "^3.0.0",
"react-native-gesture-handler": "^2.24.0",
"react-native-get-random-values": "^1.11.0",
"react-native-google-mobile-ads": "^14.9.1",
"react-native-iap": "^12.16.2",
"react-native-image-picker": "^8.2.0",
"react-native-image-progress": "^1.2.0",
"react-native-iphone-x-helper": "^1.3.1",
"react-native-keep-awake": "^4.0.0",
"react-native-keyboard-aware-scroll-view": "^0.9.5",
"react-native-keyboard-aware-scrollview": "^2.1.0",
"react-native-link-preview": "^1.4.2",
"react-native-material-menu": "^2.0.0",
"react-native-modal": "^13.0.1",
"react-native-modal-datetime-picker": "^18.0.0",
"react-native-picker-select": "^9.3.1",
"react-native-pull-to-refresh": "^2.1.3",
"react-native-push-notification": "^8.1.1",
"react-native-reanimated": "^3.17.1",
"react-native-safe-area-context": "^5.3.0",
"react-native-screens": "^4.9.1",
"react-native-share": "^12.0.9",
"react-native-share-menu": "^6.0.0",
"react-native-sound": "^0.11.2",
"react-native-splash-screen": "^3.3.0",
"react-native-store-review": "^0.4.3",
"react-native-svg": "^15.11.2",
"react-native-swipeout": "^2.3.6",
"react-native-switch-toggle": "^2.2.1",
"react-native-text-input-mask": "^3.2.0",
"react-native-tts": "^4.1.1",
"react-native-vector-icons": "^10.2.0",
"react-native-version-check": "^3.4.7",
"react-native-watch-connectivity": "^1.1.0",
"react-navigation": "^5.0.0",
"uuid": "^11.1.0"

Share Improve this question asked Mar 13 at 4:49 Fariha KhalidFariha Khalid 991 silver badge6 bronze badges 2
  • Are all the dependencies you are using compatible with this version of RN? Also, have you tried disabling the new architecture? – tomerpacific Commented Mar 13 at 5:53
  • if i disable the new architecture, i face this error: Execution failed for task ':react-native-google-signin_google-signin:compileDebugJavaWithJavac'. > Compilation failed; see the compiler output below. /Users/dlx-22/Documents/Fariha/react_native/WorkoutTimer/node_modules/@react-native-google-signin/google-signin/android/src/main/java/com/reactnativegooglesignin/RNGoogleSigninButtonViewManager.java:22: error: cannot find symbol public class RNGoogleSigninButtonViewManager extends SimpleViewManager<SignInButton> implements RNGoogleSigninButtonManagerInterface<SignInButton> – Fariha Khalid Commented Mar 13 at 7:57
Add a comment  | 

1 Answer 1

Reset to default 0

You will have to check for packages that have been archived or been moved to a new repository

for example

react-native-fbsdk has been moved to react-native-fbsdk-next

So likewise all other packages you have installed go to their Github and see if there are things mentioned for the package updation.

本文标签: Facing this error on app launchin both ios and androidStack Overflow