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
Going to add my 2 cents since none of the solutions work for me. Only thing that worked for me:
cordova plugin rm cordova-plugin-compat --force cordova platform rm android cordova platform add android@6.3.0