Recommended solutions based on your search
Occurs when a Module has a dependency on both another module and that same module's jar.
If that dependency came from 3rd party libraries, you can declare it, update library in your build.gradle, or remove old version from library by exclude statement.
Solutions on the web
com.android.dex.DexException: Multiple dex files define Lcom/google/firebase/FirebaseException;