Firebase causing android build error

#1

I had some issues with Android not building (various very strange errors), so I decided to start with a new project, install the latest version of all the plugins and see what happens.

It all appeared to be going well, until I got the following error when building on Android.

The library com.google.firebase:firebase-analytics is being requested by various other libraries at [[11.0.4,11.0.4], [16.0.6,16.0.6]], but resolves to 16.0.6. Disable the plugin and check your dependencies tree using ./gradlew :app:dependencies.

I have got the following plugins installed:

"cordova-plugin-admob-free": {
	"ADMOB_APP_ID": "<REDACTED>"
},
"cordova-plugin-app-version": {},
"com-badrit-base64": {},
"cordova-plugin-brightness": {},
"cordova-plugin-calendar": {
	"CALENDAR_USAGE_DESCRIPTION": " "
},
"cordova-plugin-firebase": {},
"uk.co.workingedge.phonegap.plugin.launchnavigator": {
	"LOCATION_USAGE_DESCRIPTION": " "
},
"cordova-plugin-x-socialsharing": {},
"cordova-plugin-themeablebrowser": {},
"cordova-plugin-youtube-video-player": {},
"cordova-plugin-whitelist": {},
"cordova-plugin-statusbar": {},
"cordova-plugin-device": {},
"cordova-plugin-splashscreen": {},
"cordova-plugin-ionic-webview": {},
"cordova-plugin-ionic-keyboard": {},
"cordova-android-play-services-gradle-release": {
	"PLAY_SERVICES_VERSION": "11.0.4"
}

Any help would be appreciated.