Same problem here.
Recently my app stop building correctly, so after a long of reading and typing in the console. I managed to fix it by updating java jre, removing the android platform and adding it again. But now the build process seems very different and the forders ant-build and ant-gen no longer exist.
Apparently now ant has been replaced with gradle.
Since then the splash screen is not working and neither the api calls.
With cordova build android the app build but generare a lot of ‘inconsistent chromaticities’ warnings. And using cordova build android --release there is a build error.
In my case the warning was caused by the icons and splash screen files themselves. I think the reason was because when I saved them in Photoshop I selected ‘Embed Colour Profile’ and libpng didnt like it
I re-saved all resources without the ‘Embed Colour Profile’ and the problem has gone away.