Ionic cordova build android fails

Is cordova requirements happy?
Did you already built an app with Ionic CLI or with Android Studio?

This could mean is just couldn’t find enough free memory. Restart your computer and try again.