EAS build android fail related to sentry-cli

Hello everyone, I’m having some trouble doing eas build for Android , I’m getting this gradle error related to sentry-cli:

Process 'command '/home/expo/workingdir/build/node_modules/@sentry/cli/bin/sentry-cli'' finished with non-zero exit value 1

But I have no clue what I could possibly be missing, can someone give some light about it please?

  • I have the Sentry credentials set up correctly in app.json at hooks.postPublish config
  • iOS build completes with success

Thanks!

Hi @guilherme-zazume

It looks like you have a .env file that is listed in .gitignore, but that you code requires to be there.

Maybe have a look at these: