I am using Mac Yosemite. Getting the following failure on running a build for android platform :
FAILURE: Build failed with an exception.
* What went wrong:
from ionic forum
It was because of the "ionic resource" service error.
where run "ionic resource" command, I looked into and checked the /resources/android/splash folder, I clicked and open all of these png files, I found some pictures were broken(which appears as half of it).
So I replace these broken png files with the "normal" png file(at the same folder), then run "ionic build" command, the error is disappeared.
https://forum.ionicframework.com/t/ionic-android-build-problem/29131/7?u=bleuscyther