D8: Program type already present

@JerryBels Exactly, the issue is linked to last updates from Android support library to AndroidX

@dessteyu I fixed it following this post https://github.com/arnesson/cordova-plugin-firebase/issues/1081#issuecomment-503135862

0 / Remove your android platform

1 / Remove all plugins related to support / gradle / firebase versions control

2 / Add the AndroidX plugins from @dpa99c :

# add plugin to enable AndroidX in the project
cordova plugin add cordova-plugin-androidx

# add plugin to patch existing plugin source that uses the Android Support Library to use AndroidX
cordova plugin add cordova-plugin-androidx-adapter

3 / Add your android platform

23 Likes