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:
In my case, it was pushwoosh plugin.
<gap:plugin name="pushwoosh-phonegap-plugin">
We don't need to remove the plugin. Just set the version of plugin which is worked last time. This is worked for me.
<gap:plugin name="pushwoosh-phonegap-plugin" spec="7.0.4" source="npm"/>
Try this (Worked for me):
cordova build --debug android