play_games icon indicating copy to clipboard operation
play_games copied to clipboard

Duplicate class com.google.android.gms.common.api.internal.zza found in modules jetified-play-services-base-15.0.1-runtime

Open adam-podkowinski opened this issue 3 years ago • 0 comments

When I run flutter run --no-sound-null-safety this is an output: ` Launching lib/main.dart on LG H870 in debug mode... Running Gradle task 'assembleDebug'...

FAILURE: Build failed with an exception.

  • What went wrong: Execution failed for task ':app:checkDebugDuplicateClasses'.

A failure occurred while executing com.android.build.gradle.internal.tasks.CheckDuplicatesRunnable Duplicate class com.google.android.gms.common.api.internal.zza found in modules jetified-play-services-base-15.0.1-runtime (com.google.android.gms:play-services-base:15.0.1) and jetified-play-services-basement-17.6.0-runtime (com.google.android.gms:play-services-basement:17.6.0) Duplicate class com.google.android.gms.common.api.internal.zzb found in modules jetified-play-services-base-15.0.1-runtime (com.google.android.gms:play-services-base:15.0.1) and jetified-play-services-basement-17.6.0-runtime (com.google.android.gms:play-services-basement:17.6.0) Duplicate class com.google.android.gms.common.api.internal.zzc found in modules jetified-play-services-base-15.0.1-runtime (com.google.android.gms:play-services-base:15.0.1) and jetified-play-services-basement-17.6.0-runtime (com.google.android.gms:play-services-basement:17.6.0) Duplicate class com.google.android.gms.common.api.internal.zzd found in modules jetified-play-services-base-15.0.1-runtime (com.google.android.gms:play-services-base:15.0.1) and jetified-play-services-basement-17.6.0-runtime (com.google.android.gms:play-services-basement:17.6.0) Duplicate class com.google.android.gms.common.api.zza found in modules jetified-play-services-base-15.0.1-runtime (com.google.android.gms:play-services-base:15.0.1) and jetified-play-services-basement-17.6.0-runtime (com.google.android.gms:play-services-basement:17.6.0) Duplicate class com.google.android.gms.common.api.zzb found in modules jetified-play-services-base-15.0.1-runtime (com.google.android.gms:play-services-base:15.0.1) and jetified-play-services-basement-17.6.0-runtime (com.google.android.gms:play-services-basement:17.6.0) Duplicate class com.google.android.gms.common.internal.zzb found in modules jetified-play-services-base-15.0.1-runtime (com.google.android.gms:play-services-base:15.0.1) and jetified-play-services-basement-17.6.0-runtime (com.google.android.gms:play-services-basement:17.6.0) Duplicate class com.google.android.gms.common.internal.zzc found in modules jetified-play-services-base-15.0.1-runtime (com.google.android.gms:play-services-base:15.0.1) and jetified-play-services-basement-17.6.0-runtime (com.google.android.gms:play-services-basement:17.6.0) Duplicate class com.google.android.gms.common.internal.zzd found in modules jetified-play-services-base-15.0.1-runtime (com.google.android.gms:play-services-base:15.0.1) and jetified-play-services-basement-17.6.0-runtime (com.google.android.gms:play-services-basement:17.6.0) Duplicate class com.google.android.gms.common.internal.zzf found in modules jetified-play-services-base-15.0.1-runtime (com.google.android.gms:play-services-base:15.0.1) and jetified-play-services-basement-17.6.0-runtime (com.google.android.gms:play-services-basement:17.6.0) Duplicate class com.google.android.gms.common.internal.zzg found in modules jetified-play-services-base-15.0.1-runtime (com.google.android.gms:play-services-base:15.0.1) and jetified-play-services-basement-17.6.0-runtime (com.google.android.gms:play-services-basement:17.6.0) Duplicate class com.google.android.gms.common.internal.zzk found in modules jetified-play-services-base-15.0.1-runtime (com.google.android.gms:play-services-base:15.0.1) and jetified-play-services-basement-17.6.0-runtime (com.google.android.gms:play-services-basement:17.6.0) Duplicate class com.google.android.gms.common.internal.zzl found in modules jetified-play-services-base-15.0.1-runtime (com.google.android.gms:play-services-base:15.0.1) and jetified-play-services-basement-17.6.0-runtime (com.google.android.gms:play-services-basement:17.6.0) Duplicate class com.google.android.gms.common.internal.zzm found in modules jetified-play-services-base-15.0.1-runtime (com.google.android.gms:play-services-base:15.0.1) and jetified-play-services-basement-17.6.0-runtime (com.google.android.gms:play-services-basement:17.6.0) Duplicate class com.google.android.gms.common.internal.zzn found in modules jetified-play-services-base-15.0.1-runtime (com.google.android.gms:play-services-base:15.0.1) and jetified-play-services-basement-17.6.0-runtime (com.google.android.gms:play-services-basement:17.6.0) Duplicate class com.google.android.gms.common.zza found in modules jetified-play-services-base-15.0.1-runtime (com.google.android.gms:play-services-base:15.0.1) and jetified-play-services-basement-17.6.0-runtime (com.google.android.gms:play-services-basement:17.6.0) Duplicate class com.google.android.gms.dynamic.zza found in modules jetified-play-services-base-15.0.1-runtime (com.google.android.gms:play-services-base:15.0.1) and jetified-play-services-basement-17.6.0-runtime (com.google.android.gms:play-services-basement:17.6.0) Duplicate class com.google.android.gms.dynamic.zzb found in modules jetified-play-services-base-15.0.1-runtime (com.google.android.gms:play-services-base:15.0.1) and jetified-play-services-basement-17.6.0-runtime (com.google.android.gms:play-services-basement:17.6.0)

 Go to the documentation to learn how to <a href="d.android.com/r/tools/classpath-sync-errors">Fix dependency resolution errors</a>.
  • Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

  • Get more help at https://help.gradle.org

Maybe some plugins don't like eachother.

pubspec.yaml: dependencies: provider: ^5.0.0 intl: ^0.17.0 auto_size_text: ^3.0.0-nullsafety.0 flutter_staggered_animations: ^1.0.0 sqflite: ^2.0.0+3 shared_preferences: ^2.0.5 audioplayers: ^0.18.3 flutter_phoenix: ^1.0.0 url_launcher: ^6.0.3 in_app_purchase: ^1.0.4 play_games: ^0.5.5 quiver: ^3.0.1 google_mobile_ads: ^0.13.0 flutter_staggered_grid_view: ^0.4.0 flutter_screenutil: ^5.0.0+2 tuple: ^2.0.0 cupertino_icons: ^1.0.3 gradient_nav_bar: git: url: https://github.com/adam-podkowinski/gradient-nav-bar flutter: sdk: flutter dev_dependencies: icon_font_generator: ^2.0.0 pedantic: ^1.11.0 flutter_test: sdk: flutter

adam-podkowinski avatar Jun 04 '21 18:06 adam-podkowinski