1 person found this helpful
To fix it, add <preference name="phonegap-version" value="cli-6.3.1" /> in your config.xml under the </author> closing
Thanks, it works!
Yes, it works!
this is due to the plugin mauron85/cordova-plugin-background-geolocation
the icons for android builds changed in 6.x from @drawable to @mipmap and this plugin assumed @drawable/icon and thus the build fails. I think the latest version of the plugin was updated so maybe just bump the version.
be aware the cli-6.5.0 update moved the default from 5.2.2 to 6.0.2 so there will be breaking changes as it's a major update.