Problem trying to build my app for release

Hi guys,
I’m trying to build an app with ionic. I ran the following in the terminal :

ionic cordova build android --prod --release

And I got the following error :
Execution failed for task ‘:app:fabricGenerateResourcesRelease’

Looks to be gradle failing…

Do you have any idea how to fix it ?