build failed for android with path="null"

I am building preview for android with an help of EAS and failed with below error. I didn’t have any issue with iOS as it works

ERROR mESSAGE

Running 'gradlew :app:assembleRelease' in /home/expo/workingdir/build/android

2

Downloading https://services.gradle.org/distributions/gradle-8.0.1-all.zip
Welcome to Gradle 8.0.1!

16



22

Daemon will be stopped at the end of the build


23

[stderr]

FAILURE:


24

[stderr]

Build failed with an exception.


25

[stderr]

  • Where:

26

[stderr]

Settings file ‘/home/expo/workingdir/build/android/settings.gradle’ line: 10


27

[stderr]

  • What went wrong:

28

[stderr]

A problem occurred evaluating settings ‘ParrotProjectv2’.


29

[stderr]


30

[stderr]

path may not be null or empty string. path=‘null’


31

[stderr]

  • Try:

32

[stderr]

Run with --stacktrace option to get the stack trace.


33

[stderr]

Run with --info or --debug option to get more log output.


34

[stderr]

Run with --scan to get full insights.


35

[stderr]


36

[stderr]

BUILD FAILED in 18s


37

Error: Gradle build failed with unknown error. See logs for the “Run gradlew” phase for more information.



PACKAGE.JSON 

{
  "name": "BINGO",
  "version": "1.0.0",
  "scripts": {
    "start": "expo start --dev-client",
    "android": "expo run:android",
    "ios": "expo run:ios",
    "web": "expo start --web"
  },
  "dependencies": {
    "@react-native-async-storage/async-storage": "1.17.11",
    "axios": "^0.18.1",
    "base-64": "^1.0.0",
    "btoa": "^1.2.1",
    "buffer": "^6.0.3",
    "expo": "^47.0.0",
    "expo-barcode-scanner": "~12.3.2",
    "expo-constants": "~14.2.1",
    "expo-splash-screen": "~0.18.2",
    "expo-status-bar": "~1.4.4",
    "latest": "^0.2.0",
    "package": "^1.0.1",
    "pod-install": "^0.1.38",
    "react": "18.2.0",
    "react-native": "0.71.3",
    "react-native-animatable": "^1.3.3",
    "react-native-eject": "^0.2.0",
    "react-native-gradle-plugin": "^0.71.19",
    "react-native-linear-gradient": "^2.6.2",
    "react-native-paper": "^5.10.3",
    "react-native-safe-area-context": "4.5.0",
    "react-native-snackbar": "^2.6.2",
    "react-native-svg": "13.4.0",
    "react-native-toast": "^1.0.1",
    "react-native-toast-message": "^2.1.6"
  },
  "devDependencies": {
    "@babel/core": "^7.20.0"
  },
  "private": true
}

hi there! take a look at this issue: path may not be null or empty string && compileSdkVersion is not specified · Issue #22584 · expo/expo · GitHub