Pattern selector

Most relevant patterns first. Most helpful ones displayed. Click here to show all.

  1. Main.main() has thrown a DexException
    Android SDK's dx Tool
    232
    343
    9
  2. Main.main() has thrown a DexException
    Android SDK's dx Tool
    254
    345
    10

Your stack trace compared to the selected pattern

Jump to solutionsExpand frames
com.android.dex.DexException: Multiple dex files define Lcom/google/firebase/FirebaseException;
7 matching frames hidden
    at com.android.dx.command.dexer.Main.run(Main.java:277)
    at com.android.dx.command.dexer.Main.main(Main.java:245)
    at com.android.dx.command.Main.main(Main.java:106)

Solution

chinthana10 months ago

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.

Check the source of this solution for more info

External results for this pattern (10)

  1. policzvia GitHub1 month ago
    Multiple dex files define Lcom/google/android/gms/internal/zzfkt;
    Show stack trace
  2. viperfxvia GitHub1 month ago
    Multiple dex files define Landroid/support/v4/app/NavUtilsJB;
    Show stack trace
  3. BobAleenavia GitHub2 months ago
    Multiple dex files define Lcom/google/firebase/iid/zzb;
    Show stack trace
  4. misakuovia GitHub2 months ago
    Multiple dex files define Lcom/alibaba/android/arouter/facade/annotation/Autowired;
    Show stack trace
  5. tigerohuangvia GitHub2 months ago
    Multiple dex files define Lcom/google/android/gms/measurement/AppMeasurementContentProvider;
    Show stack trace
  6. goodhyunvia GitHub2 months ago
    Multiple dex files define Lcom/google/android/gms/internal/zzmy;
    Show stack trace
  7. jsfrvia GitHub2 months ago
    Multiple dex files define Lcom/google/firebase/iid/zzb$1;
    Show stack trace
  8. FME-nstokoevia GitHub2 months ago
    Multiple dex files define Lcom/google/android/gms/location/places/PlaceReport;
    Show stack trace
  9. leobetosouzavia GitHub2 months ago
    Multiple dex files define Lcom/google/android/gms/internal/zzfgn;
    Show stack trace