Android build failing - Program type already present:


Have Ionic changed the way it builds an Android project? The other week my project built fine. I have made some changes recently (upgraded a facebook login component) and it started failing with this error…

*** What went wrong:**
Execution failed for task ‘:app:transformDexArchiveWithExternalLibsDexMergerForRelease’.
**> Error while merging dex archives: **

I have since tried various builds using different commits and I ended up going right the way back to the commit that worked the last time I got a successful build and that now fails too.

Any ideas what is going on before I go mad?


are you using cordova or capacitor?