0

I'm trying to build my expo app with eas build --profile development --platform android, but after a long waiting, I get an error

[stderr] FAILURE: Build completed with 2 failures.

[stderr] 1: Task failed with an exception.

[stderr]

[stderr]

  • Where:

[stderr] Build file '/home/expo/workingdir/build/node_modules/expo-dev-client/android/build.gradle' line: 95

[stderr]

  • What went wrong:

[stderr] A problem occurred evaluating project ':expo-dev-client'.

[stderr]

Project with path ':expo-dev-menu-interface' could not be found in project ':expo-dev-client'.

[stderr]

  • Try:

[stderr]

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

[stderr]

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

[stderr]

Run with --scan to get full insights.

[stderr]

[stderr] 2: Task failed with an exception.

[stderr]

[stderr]

  • What went wrong:

[stderr] A problem occurred configuring project ':expo'.

[stderr]

compileSdkVersion is not specified. Please add it to build.gradle

[stderr]

  • Try:

[stderr]

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

[stderr]

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

[stderr]

Run with --scan to get full insights.

[stderr]

[stderr]

[stderr] BUILD FAILED in 1m 42s

5 actionable tasks: 5 executed

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

my dependencies "dependencies": { "@mui/icons-material": "^5.11.16", "@react-native-async-storage/async-storage": "1.17.11", "@react-navigation/drawer": "^6.6.2", "@react-navigation/native": "^6.1.6", "@react-navigation/native-stack": "^6.9.12", "axios": "^1.4.0", "bootstrap": "^5.2.3", "dayjs": "^1.11.7", "expo": "~48.0.6", "expo-dev-client": "~2.2.1", "expo-location": "~15.1.1", "expo-status-bar": "~1.4.4", "native-base": "^3.4.28", "react": "18.2.0", "react-bootstrap": "^2.7.2", "react-hook-form": "^7.43.9", "react-native": "0.71.8", "react-native-calendars": "^1.1295.0", "react-native-config": "^1.5.0", "react-native-dotenv": "^3.4.8", "react-native-geolocation-service": "^5.3.1", "react-native-maps": "1.3.2", "react-native-reanimated": "^2.14.4", "react-native-safe-area-context": "^4.5.0", "react-native-screens": "~3.20.0", "react-native-svg": "13.4.0", "react-native-switch": "^1.5.1", "react-navigation": "^4.4.4" },

I've been looking for someone who has had a similar issue, but couldn't find anything that helped me.

  • Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. – Community Jul 27 '23 at 07:49

0 Answers0