Build fails when using firebase ui version 4.0.1, works on version 3.3.1
```
com.android.build.api.transform.TransformException: Error while generating the main dex list.
Error while generating the main dex list.
com.android.tools.r8.errors.CompilationError: Program type already present: android.arch.core.util.Function
Program type already present: android.arch.core.util.Function
```
Please see: SO post
same here. my workaround was to downgrade the support library version to 27.0.2
Thank you both for flagging this. Reading on StackOverflow this seems to be an issue with Firebase libraries / Support libraries. It only appeared in FirebaseUI 4.0 because we updated transitive dependencies. For that reason I will close this issue and move discussion to the SO thread. Should be fixed with future deps/tooling updates.
Most helpful comment
same here. my workaround was to downgrade the support library version to
27.0.2