Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.

How do I resolve this? This happens every time I try to build the app
My Package

{

  "main": "node_modules/expo/AppEntry.js",

  "scripts": {

    "start": "expo start",

    "android": "expo start --android",

    "ios": "expo start --ios",

    "web": "expo start --web",

    "eject": "expo eject"

  },

  "dependencies": {

    "@react-native-async-storage/async-storage": "^1.17.4",

    "@react-native-community/datetimepicker": "6.1.2",

    "@react-native-masked-view/masked-view": "^0.2.6",

    "@react-native-picker/picker": "2.4.0",

    "@react-navigation/bottom-tabs": "^6.3.1",

    "@react-navigation/native": "^6.0.10",

    "@react-navigation/stack": "^6.2.1",

    "dayjs": "^1.11.2",

    "expo": "^45.0.4",

    "expo-constants": "~13.1.1",

    "expo-file-system": "~14.0.0",

    "expo-linear-gradient": "~11.3.0",

    "expo-media-library": "~14.1.0",

    "expo-notifications": "~0.15.2",

    "expo-permissions": "~13.2.0",

    "expo-status-bar": "~1.3.0",

    "expo-updates": "~0.13.1",

    "load-json-file": "^7.0.1",

    "lottie-ios": "^3.2.3",

    "lottie-react-native": "5.0.1",

    "moment": "^2.29.3",

    "react": "17.0.2",

    "react-dom": "17.0.2",

    "react-native": "0.68.2",

    "react-native-app-intro-slider": "^4.0.4",

    "react-native-appearance": "^0.3.4",

    "react-native-async-storage": "^0.0.1",

    "react-native-awesome-pin": "^1.3.2",

    "react-native-date-input": "^1.0.11",

    "react-native-datepicker": "^1.7.2",

    "react-native-easy-toast": "^2.0.0",

    "react-native-elements": "^3.4.2",

    "react-native-file-viewer": "^2.1.5",

    "react-native-gesture-handler": "~2.2.1",

    "react-native-gradle-plugin": "^0.0.7",

    "react-native-iphone-x-helper": "^1.3.1",

    "react-native-keycode": "^1.1.2",

    "react-native-masked-text": "^1.13.0",

    "react-native-modalize": "^2.0.13",

    "react-native-reanimated": "~2.8.0",

    "react-native-safe-area-context": "4.2.4",

    "react-native-screens": "~3.11.1",

    "react-native-searchable-picker": "~1.0.5",

    "react-native-vector-icons": "^9.1.0",

    "react-native-view-pdf": "^0.13.2",

    "react-native-web": "0.17.7",

    "react-native-webview-readability": "^0.2.7",

    "rn-pdf-reader-js": "^4.1.1",

    "styled-components": "^5.3.5"

  },

  "devDependencies": {

    "@babel/core": "^7.17.10",

    "babel-preset-expo": "~9.1.0"

  },

  "private": true

}

Build Details

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