Gradle build failed with unknown error. See logs for the "Run gradlew") phase for more information.

{
  "name": "AlertaPovo",
  "version": "1.0.0",
  "scripts": {
    "start": "expo start --dev-client",
    "android": "expo run:android",
    "ios": "expo run:ios",
    "web": "expo start --web",
    "eject": "expo eject"
  },
  "dependencies": {
    "@expo-google-fonts/inter": "^0.2.2",
    "@expo/vector-icons": "^13.0.0",
    "@react-native-async-storage/async-storage": "~1.17.3",
    "@react-native-community/datetimepicker": "6.5.2",
    "@react-native-community/geolocation": "^2.0.2",
    "@react-native-community/netinfo": "9.3.5",
    "@react-native-picker/picker": "2.4.8",
    "@react-navigation/bottom-tabs": "^6.2.0",
    "@react-navigation/material-top-tabs": "^6.2.4",
    "@react-navigation/native": "^6.0.8",
    "@react-navigation/native-stack": "^6.9.0",
    "@react-navigation/stack": "^6.1.1",
    "@types/expo__vector-icons": "^10.0.0",
    "@types/react-native-vector-icons": "^6.4.11",
    "@types/styled-components-react-native": "^5.1.3",
    "@types/yup": "^0.32.0",
    "babel-plugin-inline-dotenv": "^1.6.0",
    "date-fns": "^2.28.0",
    "expo": "^47.0.0",
    "expo-app-loading": "~2.1.1",
    "expo-auth-session": "~3.8.0",
    "expo-dev-client": "~2.0.1",
    "expo-image-picker": "~14.0.2",
    "expo-location": "~15.0.1",
    "expo-network": "~5.0.0",
    "expo-random": "~13.0.0",
    "expo-splash-screen": "~0.17.5",
    "expo-status-bar": "~1.4.2",
    "expo-updates": "~0.15.6",
    "firebase": "^8.10.0",
    "formik": "^2.2.9",
    "i18next": "^22.0.6",
    "react": "18.1.0",
    "react-dom": "18.1.0",
    "react-i18next": "^12.0.0",
    "react-native": "0.70.5",
    "react-native-app-intro-slider": "^4.0.4",
    "react-native-datepicker": "^1.7.2",
    "react-native-dotenv": "^3.4.8",
    "react-native-geolocation-service": "^5.3.0-beta.4",
    "react-native-gesture-handler": "~2.8.0",
    "react-native-maps": "1.3.2",
    "react-native-network-info": "^5.2.1",
    "react-native-pager-view": "6.0.1",
    "react-native-paper": "^5.0.1",
    "react-native-reanimated": "~2.12.0",
    "react-native-responsive-fontsize": "^0.5.1",
    "react-native-responsive-screen": "^1.4.2",
    "react-native-safe-area-context": "4.4.1",
    "react-native-screens": "~3.18.0",
    "react-native-simple-time-picker": "^1.3.11",
    "react-native-svg": "13.4.0",
    "react-native-svg-transformer": "^1.0.0",
    "react-native-svg-uri": "^1.2.3",
    "react-native-tab-view": "^3.1.1",
    "react-native-web": "~0.18.7",
    "react-number-format": "^4.9.1",
    "styled-components": "^5.3.5",
    "yup": "^0.32.11"
  },
  "devDependencies": {
    "@babel/core": "^7.19.3",
    "@types/react": "~18.0.24",
    "@types/react-native": "~0.70.6",
    "@types/styled-components": "^5.1.26",
    "typescript": "^4.6.3"
  },
  "private": true
}

Hi @vanesaashirlenee, if I’m looking at your latest failed build here (and you can correct me if I’m looking at the wrong build), it seems the “expo doctor” step failed because the "scheme" defined in your app.json isn’t valid. The value of this field has to be in lowercase and can have digits, “+”, “.” or “-”. No spaces allowed. You can read more about scheme in our docs.

Please, change the value and rerun the build. It will help you resolve the issue expo doctor step is failing on.

1 Like

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