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
cordova plugin rm cordova-plugin-compat --force
cordova platform rm android
cordova platform add android@6.3.0
cordova plugin add cordova-plugin-compat@1.2
in this order, works for me !! thanks a lot