After more than 10h of debugging, I had this line "@expo/vector-icons": "^14.0.4"
which should have been "@expo/vector-icons": "14.0.4",
Here is my full app.json devDependencies and dependencies for the exact version
"dependencies": {
"@expo/metro-runtime": "~4.0.0",
"@expo/vector-icons": "14.0.4",
"@hcaptcha/react-native-hcaptcha": "^1.8.2",
"@legendapp/state": "^3.0.0-beta.26",
"@react-native-async-storage/async-storage": "1.23.1",
"@react-native-community/cli": "^18.0.0",
"@react-native-community/datetimepicker": "8.2.0",
"@react-native-community/netinfo": "^11.4.1",
"@react-native-menu/menu": "^1.2.3",
"@react-navigation/drawer": "^6.7.2",
"@react-navigation/native": "^6.1.18",
"@supabase/supabase-js": "^2.48.1",
"aes-js": "^3.1.2",
"expo": "~52.0.31",
"expo-clipboard": "~7.0.1",
"expo-file-system": "~18.0.10",
"expo-haptics": "~14.0.0",
"expo-linear-gradient": "~14.0.2",
"expo-linking": "~7.0.5",
"expo-navigation-bar": "~4.0.8",
"expo-notifications": "~0.29.13",
"expo-react-native-toastify": "^1.0.19",
"expo-secure-store": "~14.0.1",
"expo-store-review": "~8.0.1",
"jest": "~29.7.0",
"react": "18.3.1",
"react-native": "0.76.9",
"react-native-awesome-slider": "^2.9.0",
"react-native-context-menu-view": "^1.18.0",
"react-native-dialog": "^9.3.0",
"react-native-dotenv": "^3.4.11",
"react-native-draggable-flatlist": "^4.0.1",
"react-native-gesture-handler": "~2.20.2",
"react-native-get-random-values": "^1.11.0",
"react-native-modal": "^13.0.1",
"react-native-paper": "^5.13.5",
"react-native-purchases": "^8.9.1",
"react-native-purchases-ui": "^8.0.0",
"react-native-reanimated": "~3.16.1",
"react-native-recaptcha-that-works": "^2.0.0",
"react-native-root-siblings": "^5.0.1",
"react-native-root-toast": "^3.6.0",
"react-native-safe-area-context": "4.12.0",
"react-native-screens": "~4.4.0",
"react-native-snackbar": "^2.8.0",
"react-native-toast-message": "^2.2.1",
"react-native-vector-icons": "^10.2.0",
"react-native-webview": "13.12.5",
"uuid": "^11.0.5"
},
"private": true,
"devDependencies": {
"@types/jest": "^29.5.14",
"@types/react": "~18.3.12",
"@typescript-eslint/eslint-plugin": "^8.26.1",
"@typescript-eslint/parser": "^8.26.1",
"babel-plugin-module-resolver": "^5.0.2",
"detox": "^20.34.3",
"eslint-config-prettier": "^10.1.1",
"eslint-plugin-prettier": "^5.2.3",
"eslint-plugin-react": "^7.37.4",
"eslint-plugin-react-native": "^5.0.0",
"expo": "~52.0.31",
"jest-circus": "^29.7.0",
"typescript": "^5.8.2"
},
Context: I had building problem when i try to make a development release for android, but it would work fine on iOS. I'm on Expo 52 and tried bumping to 53, and it didn't work.
Here is the error I was getting
› Opening emulator Pixel_8_Pro_API_35
› Building app...
Starting a Gradle Daemon (subsequent builds will be faster)
Configuration on demand is an incubating feature.
FAILURE: Build failed with an exception.
* Where:
Build file '.../expo-font/android/build.gradle' line: 3
* What went wrong:
Plugin [id: 'expo-module-gradle-plugin'] was not found in any of the following sources:
- Gradle Core Plugins (not a core plugin. For more available plugins, please refer to https://docs.gradle.org/8.10.2/userguide/plugin_reference.html in the Gradle documentation.)
- Included Builds (No included builds contain this plugin)
- Plugin Repositories (plugin dependency must include a version number for this source)
* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
> Get more help at https://help.gradle.org.
BUILD FAILED in 1m 9s
13 actionable tasks: 13 executed
Error:
Sometimes i would have it with expo-fonts and sometimes with other expo-
libraries