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 have remove the Compat plugin after the update the dependency of other plugins; like Camera to the new version and it's work. Example: cordova plugin rm cordova-plugin-camera --save cordova plugin add cordova-plugin-camera@latest --save Post the new plugin addition the old version 2.3.0 was replaced with 4.0.2 for Camera plugin.
after this step. I have simply remove the plugin "Compat" cordova plugin rm cordova-plugin-compat --force