I recently wanted to try out ionic and specifically develop android apps. I was able to set everything up using the ionic tutorial and run via localhost. I want to be able to d
After hours spent in the same issue, just solved the problem by running some updates:
npm update -g ionic cordova
This information was found at: https://forum.ionicframework.com/t/android-build-failed/32069
This could be related to a filename error somewhere in your project. To see where the error in file is,
go to your android folder via terminal,
/projectName/platforms/android
Then, execute gradlew assembleDebug --info
It should show in the end which file it is.
-- EDIT
This could be related to Ubuntu incompatibility problems,
As per https://stackoverflow.com/a/27734148/2036808
$ sudo apt-get install lib32z1 lib32ncurses5 lib32bz2-1.0 lib32stdc++6