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 had the same error, and i didn't have compat plugin in my plugins, i just run that code, then i built, it worked fine
$ cordova platform remove android && cordova platform add android@6.2.3