samsamradas
samsamradas

Reputation: 135

Deploying expo app error: Build failed: Gradle build failed with unknown error

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

enter image description here

why am I getting this error?

using:

npx expo-doctor --fix-dependencies

also gives me an error:

(node:4132) [DEP0040] DeprecationWarning: The punycode module is deprecated. Please use a userland alternative instead. (Use node --trace-deprecation ... to show where the warning was created)

I think the issue is with some conflicting dependencies

Upvotes: 0

Views: 642

Answers (1)

Pratik Prakash Bindage
Pratik Prakash Bindage

Reputation: 975

I was getting the same error and I ran following commands: expo doctor expo doctor --fix-dependencies

After these commands the error is gone.

Upvotes: 2

Related Questions