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 know the the question already answered, but I want to add link to the official release notes:
https://cordova.apache.org/news/2017/11/10/plugins-release.html
In our last plugins release, we deprecated cordova-plugin-compat since it got integrated into cordova-android@6.3.0. So for this release cycle, we have removed the dependency from plugins that were relying on it and gave the plugins a major version jump. The follow plugins have dropped cordova-plugin-compat: cordova-plugin-camera, cordova-plugin-contacts, cordova-plugin-file, cordova-plugin-geolocation, cordova-plugin-media, and cordova-plugin-media-capture.
So, make sure you update all listed plugins to the version posted in release notes.