Facing problem as Android build failed in a react native expo app due to unknown error

277 views Asked by At

I'm facing this issue while i'm trying to create build for my react native expo app,I have removed not usesful packages and dependecies from my app.

I have used the command "npx eas build --platform android" and it was not showing any error but after 5-6 mins the process just stopped and shown this error message after build failed

No such error was showing while running on the expo go app or on the android emulator ,the app is running perfectly wihtout showing any error but don't know why this is happening while creating build for the app.

Please help me regarding this issue.

1

There are 1 answers

3
Thomasino73 On

Try running ./gradlew clean in your terminal inside the android folder. And see what error you get there. If the error remains the same, try executing this command gradlew --scan assembleRelease. Feel free to post errors on here and ask for more help!