i havent any android
directory to run eas build
and i also tried to run the following code to make a new android
directory but i got the same error
npx expo prebuild --clean
npx expo prebuild
eas build -p android --profile preview
but my expo doctor
didnβt find any issues with the project.
is that related to my expo version? because this error just happened recently. i was able to build the app last week
ill share my package.json
here for reference
{
"name": "helloworld",
"version": "1.0.0",
"scripts": {
"start": "expo start --dev-client",
"android": "expo run:android",
"ios": "expo run:ios",
"web": "expo start --web",
"postinstall": "patch-package"
},
"dependencies": {
"@expo-google-fonts/noto-sans-hk": "^0.2.2",
"@expo/ngrok": "^4.1.0",
"@expo/vector-icons": "^13.0.0",
"@freakycoder/react-native-bounceable": "^1.0.3",
"@react-native-async-storage/async-storage": "^1.17.11",
"@react-native-community/slider": "4.2.4",
"@react-navigation/bottom-tabs": "^6.4.3",
"@react-navigation/material-top-tabs": "^6.4.0",
"@react-navigation/native": "^6.0.16",
"@react-navigation/native-stack": "^6.9.4",
"axios": "^1.2.1",
"babel-preset-react-app": "^10.0.1",
"dayjs": "^1.11.6",
"deprecated-react-native-prop-types": "^3.0.1",
"emoji-datasource-apple": "^14.0.0",
"expo": "~47.0.14",
"expo-app-loading": "~2.1.0",
"expo-av": "~13.0.3",
"expo-device": "~5.0.0",
"expo-image-picker": "~14.0.2",
"expo-media-library": "~15.0.0",
"expo-notifications": "~0.17.0",
"expo-splash-screen": "~0.17.5",
"expo-status-bar": "~1.4.2",
"immutable": "^4.1.0",
"install": "^0.13.0",
"npm": "^9.1.3",
"patch-package": "^6.5.0",
"postinstall-postinstall": "^2.1.0",
"pretty-format": "^29.5.0",
"react": "18.1.0",
"react-dom": "18.1.0",
"react-hook-form": "^7.40.0",
"react-native": "0.70.8",
"react-native-animatable": "^1.3.3",
"react-native-animated-spinkit": "^1.5.2",
"react-native-config": "^1.4.11",
"react-native-dynamic-search-bar": "^2.0.2",
"react-native-emoji-selector": "^0.2.0",
"react-native-extra-dimensions-android": "^1.2.5",
"react-native-flipper-performance-plugin": "^0.3.1",
"react-native-gesture-handler": "~2.8.0",
"react-native-image-viewing": "^0.2.2",
"react-native-material-menu": "^2.0.0",
"react-native-modal": "^13.0.1",
"react-native-pager-view": "6.0.1",
"react-native-popup-menu": "^0.16.1",
"react-native-reanimated": "~2.12.0",
"react-native-safe-area-context": "4.4.1",
"react-native-screens": "~3.18.0",
"react-native-spinkit": "^1.5.1",
"react-native-svg": "13.4.0",
"react-native-tab-view": "^3.3.2",
"react-native-textinput-effects": "^0.6.3",
"react-native-vector-icons": "^9.2.0",
"react-native-web": "~0.18.7",
"react-redux": "^8.0.5",
"redux": "^4.2.0",
"redux-logger": "^3.0.6",
"redux-promise-middleware": "^6.1.3",
"redux-thunk": "^2.4.2",
"rn-emoji": "^1.0.4",
"rn-emoji-picker": "^1.1.6",
"runes": "^0.4.3",
"socket.io-client": "^4.6.1"
},
"devDependencies": {
"@babel/core": "^7.20.5",
"react-native-dotenv": "^3.4.6"
},
"private": true
}