please make sure that you have installed this plugin:
Please use the version 2.0.1 of that plugin, there were some changes in Android recently that break the build system.
Also, please make sure to use the version 7.1.2 for the Android platform.
So I recommend you to run:
cordova platform remove android
cordova plugin remove cordova-android-support-gradle-release
cordova platform add email@example.com
cordova plugin add firstname.lastname@example.org