app crashes when i output expo sdk 48 apk

Please provide the following:

  1. SDK 48
  2. Android apk

com.facebook.react.common.JavascriptException: Error: Expo native runtime is not available: something went wrong and we aren’t sure what it was. Please post more information and get support at https://forums.expo.dev., js engine: hermes, stack:
anonymous@1:61271
loadModuleImplementation@1:52930
guardedLoadModule@1:52479
metroRequire@1:52107
anonymous@1:60070
loadModuleImplementation@1:52930
guardedLoadModule@1:52479
metroRequire@1:52107
anonymous@1:59523
loadModuleImplementation@1:52930
guardedLoadModule@1:52479
metroRequire@1:52107
anonymous@1:59248
loadModuleImplementation@1:52930
guardedLoadModule@1:52436
metroRequire@1:52107
global@1:51691

package;

“dependencies”: {
“expo-google-fonts/poppins”: “^0.2.2”,
“react-native-community/checkbox”: “^0.5.12”,
“react-navigation/bottom-tabs”: “^6.3.2”,
“react-navigation/drawer”: “^6.4.3”,
“react-navigation/material-top-tabs”: “^6.2.2”,
“react-navigation/native”: “^6.0.11”,
“react-navigation/stack”: “^6.2.2”,
“reduxjs/toolkit”: “^1.8.4”,
“rneui/base”: “^4.0.0-rc.6”,
“rneui/themed”: “^4.0.0-rc.6”,
“accordion-collapse-react-native”: “^1.1.1”,
“axios”: “^0.27.2”,
“eas-cli”: “^0.56.0”,
“expo”: “^48.0.0”,
“expo-app-loading”: “~2.1.1”,
“expo-blur”: “~12.2.2”,
“expo-camera”: “~13.2.1”,
“expo-dev-client”: “~2.2.1”,
“expo-device”: “~5.2.1”,
“expo-file-system”: “~15.2.2”,
“expo-image-picker”: “~14.1.1”,
“expo-linear-gradient”: “~12.1.2”,
“expo-media-library”: “~15.2.3”,
“expo-notifications”: “~0.18.1”,
“expo-secure-store”: “~12.1.1”,
“expo-splash-screen”: “~0.18.2”,
“expo-status-bar”: “~1.4.4”,
“expo-updates”: “~0.16.4”,
“firebase”: “^9.9.2”,
“formik”: “^2.2.9”,
“immer”: “^9.0.15”,
“jwt-decode”: “^3.1.2”,
“lottie-react-native”: “5.1.4”,
“moment”: “^2.29.4”,
“react”: “18.2.0”,
“react-dom”: “18.2.0”,
“react-native”: “0.71.8”,
“react-native-dropdown-picker”: “^5.4.2”,
“react-native-dropdown-select-list”: “^2.0.4”,
“react-native-gesture-handler”: “~2.9.0”,
“react-native-image-zoom-viewer”: “^3.0.1”,
“react-native-modal”: “^13.0.1”,
“react-native-paper”: “^4.12.4”,
“react-native-reanimated”: “~2.14.4”,
“react-native-safe-area-context”: “4.5.0”,
“react-native-screens”: “~3.20.0”,
“react-native-svg”: “13.4.0”,
“react-native-swipe-list-view”: “^3.2.9”,
“react-native-vector-icons”: “^9.2.0”,
“react-native-web”: “~0.18.11”,
“react-redux”: “^8.0.2”,
“redux”: “^4.2.0”,
“redux-logger”: “^3.0.6”,
“redux-saga”: “^1.2.1”,
“yup”: “^0.32.11”,
“expo-image-manipulator”: “~11.1.1”
}

You don’t need to add eas-cli as a dependency to your project. Remove it and try creating the build again.

2 Likes

Hi @hakanfe

In addition to what Aman said, expo-app-loading was deprecated in Expo SDK 46 and removed in Expo SDK 47 (or maybe 48). Either way you will need to replace it or copy the code into your app. See the Expo SDK 46/47/48 release announcements for more info.


Hi, I removed the eas-cli and expo-app-loading packages, but this time during the build, an error was thrown during the prebuild phase, I sent the error in the attachment.

The error implies that you might not have the above anymore, when you should. Is that possible?

Also, what does npx expo-doctor say?

Thanks for your answers, we solved the problem.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.