Ionic failed to build with


#1

I am trying to build my app for prod running this command but it keeps failing
ionic cordova build android --prod --release, however if i run the build with the flag --prod, it build successfully. any help will be much appreciated.

below is my environment,

@ionic/cli-utils : 1.19.2
ionic (Ionic CLI) : 3.20.0

global packages:

cordova (Cordova CLI) : 8.0.0

local packages:

@ionic/app-scripts : 3.1.9
Cordova Platforms  : android 7.0.0
Ionic Framework    : ionic-angular 3.9.2

System:

Node : v8.9.4
npm  : 4.2.0
OS   : Windows 10

Environment Variables:

ANDROID_HOME : not set

Misc:

backend : pro

#2

can you share error log?


#3

Hi Abhayjani, i will share it when i get home. thank you for responding