Multiple dex files define Lcom/google/android/gms/internal/measurement/zzabn

后端 未结 2 1818
悲&欢浪女
悲&欢浪女 2020-12-11 16:16

Since this morning I cannot build my Android app because I get this error

What went wrong: Execution failed for task \':app:transformDexArchiveWithDex

相关标签:
2条回答
  • 2020-12-11 16:49

    Please update the google-service plugin to:

    classpath 'com.google.gms:google-services:3.3.0'
    

    to be able to use the latest version of Firebase and to avoid the errors.

    Read the following for more information:

    https://android-developers.googleblog.com/2018/05/announcing-new-sdk-versioning.html

    Compilation failed to complete:Program type already present: com.google.android.gms.internal.measurement.zzabn

    0 讨论(0)
  • 2020-12-11 16:50

    (Posted solution on behalf of the question author).

    Removing com.google.gms.google-services at the bottom of my build.build makes it work.

    0 讨论(0)
提交回复
热议问题