I\'m in trouble since yesterday. In my internship I faced the following build error, but I couldn\'t understand why :
$ cordova build android [...] FAILURE
I am using Ionic 4 and this solved it for me (only takes a few seconds to run):
cordova clean