Error: Program type already present: com.google.android.gms.measurement.internal.zzbn











up vote
0
down vote

favorite
1












I tried all of the above suggestion in this Forum but I am still getting this error.




Error: Program type already present:
com.google.android.gms.measurement.internal.zzbn




Android Studio 3.2.1
Build #AI-181.5540.7.32.5056338, built on October 9, 2018
JRE: 1.8.0_152-release-1136-b06 x86_64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o macOS 10.14



Project Gradle ->



buildscript {
repositories {
google() // here
jcenter()
maven {
url 'https://maven.fabric.io/public'
}
}
dependencies {
classpath 'com.google.gms:google-services:4.2.0' // google-services plugin
classpath 'com.android.tools.build:gradle:3.2.1'
classpath 'io.fabric.tools:gradle:1.26.1'
classpath 'com.google.firebase:firebase-plugins:1.1.5'

// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}

allprojects {
repositories {
google()
jcenter()
maven {
url 'https://maven.google.com/'
}
maven { url 'https://jitpack.io' }
}
}


App Gradle ->



apply plugin: 'com.android.application'
apply plugin: 'io.fabric'
apply plugin: 'com.google.firebase.firebase-perf'


// Firebase
implementation "com.google.firebase:firebase-core:16.0.4" // Analytics
implementation "com.google.firebase:firebase-firestore:17.1.3" // Cloud Firestore
implementation "com.google.firebase:firebase-auth:16.0.5" // Authentication
implementation "com.google.firebase:firebase-messaging:17.3.4" // Cloud Messaging / Notifications
implementation "com.google.firebase:firebase-config:16.1.0" // Remote Config
implementation "com.google.firebase:firebase-dynamic-links:16.1.3" // Invites / Dynamic Links
implementation "com.google.firebase:firebase-ads:17.1.0" // AdMob
implementation "com.google.firebase:firebase-perf:16.2.0" // Perf
implementation "com.google.firebase:firebase-functions:16.1.3" // Cloud Function

// Location
implementation "com.google.android.gms:play-services-location:16.0.0"


gradle-wrapper.properties ->




distributionUrl=https://services.gradle.org/distributions/gradle-4.6-all.zip











share|improve this question


























    up vote
    0
    down vote

    favorite
    1












    I tried all of the above suggestion in this Forum but I am still getting this error.




    Error: Program type already present:
    com.google.android.gms.measurement.internal.zzbn




    Android Studio 3.2.1
    Build #AI-181.5540.7.32.5056338, built on October 9, 2018
    JRE: 1.8.0_152-release-1136-b06 x86_64
    JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o macOS 10.14



    Project Gradle ->



    buildscript {
    repositories {
    google() // here
    jcenter()
    maven {
    url 'https://maven.fabric.io/public'
    }
    }
    dependencies {
    classpath 'com.google.gms:google-services:4.2.0' // google-services plugin
    classpath 'com.android.tools.build:gradle:3.2.1'
    classpath 'io.fabric.tools:gradle:1.26.1'
    classpath 'com.google.firebase:firebase-plugins:1.1.5'

    // NOTE: Do not place your application dependencies here; they belong
    // in the individual module build.gradle files
    }
    }

    allprojects {
    repositories {
    google()
    jcenter()
    maven {
    url 'https://maven.google.com/'
    }
    maven { url 'https://jitpack.io' }
    }
    }


    App Gradle ->



    apply plugin: 'com.android.application'
    apply plugin: 'io.fabric'
    apply plugin: 'com.google.firebase.firebase-perf'


    // Firebase
    implementation "com.google.firebase:firebase-core:16.0.4" // Analytics
    implementation "com.google.firebase:firebase-firestore:17.1.3" // Cloud Firestore
    implementation "com.google.firebase:firebase-auth:16.0.5" // Authentication
    implementation "com.google.firebase:firebase-messaging:17.3.4" // Cloud Messaging / Notifications
    implementation "com.google.firebase:firebase-config:16.1.0" // Remote Config
    implementation "com.google.firebase:firebase-dynamic-links:16.1.3" // Invites / Dynamic Links
    implementation "com.google.firebase:firebase-ads:17.1.0" // AdMob
    implementation "com.google.firebase:firebase-perf:16.2.0" // Perf
    implementation "com.google.firebase:firebase-functions:16.1.3" // Cloud Function

    // Location
    implementation "com.google.android.gms:play-services-location:16.0.0"


    gradle-wrapper.properties ->




    distributionUrl=https://services.gradle.org/distributions/gradle-4.6-all.zip











    share|improve this question
























      up vote
      0
      down vote

      favorite
      1









      up vote
      0
      down vote

      favorite
      1






      1





      I tried all of the above suggestion in this Forum but I am still getting this error.




      Error: Program type already present:
      com.google.android.gms.measurement.internal.zzbn




      Android Studio 3.2.1
      Build #AI-181.5540.7.32.5056338, built on October 9, 2018
      JRE: 1.8.0_152-release-1136-b06 x86_64
      JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o macOS 10.14



      Project Gradle ->



      buildscript {
      repositories {
      google() // here
      jcenter()
      maven {
      url 'https://maven.fabric.io/public'
      }
      }
      dependencies {
      classpath 'com.google.gms:google-services:4.2.0' // google-services plugin
      classpath 'com.android.tools.build:gradle:3.2.1'
      classpath 'io.fabric.tools:gradle:1.26.1'
      classpath 'com.google.firebase:firebase-plugins:1.1.5'

      // NOTE: Do not place your application dependencies here; they belong
      // in the individual module build.gradle files
      }
      }

      allprojects {
      repositories {
      google()
      jcenter()
      maven {
      url 'https://maven.google.com/'
      }
      maven { url 'https://jitpack.io' }
      }
      }


      App Gradle ->



      apply plugin: 'com.android.application'
      apply plugin: 'io.fabric'
      apply plugin: 'com.google.firebase.firebase-perf'


      // Firebase
      implementation "com.google.firebase:firebase-core:16.0.4" // Analytics
      implementation "com.google.firebase:firebase-firestore:17.1.3" // Cloud Firestore
      implementation "com.google.firebase:firebase-auth:16.0.5" // Authentication
      implementation "com.google.firebase:firebase-messaging:17.3.4" // Cloud Messaging / Notifications
      implementation "com.google.firebase:firebase-config:16.1.0" // Remote Config
      implementation "com.google.firebase:firebase-dynamic-links:16.1.3" // Invites / Dynamic Links
      implementation "com.google.firebase:firebase-ads:17.1.0" // AdMob
      implementation "com.google.firebase:firebase-perf:16.2.0" // Perf
      implementation "com.google.firebase:firebase-functions:16.1.3" // Cloud Function

      // Location
      implementation "com.google.android.gms:play-services-location:16.0.0"


      gradle-wrapper.properties ->




      distributionUrl=https://services.gradle.org/distributions/gradle-4.6-all.zip











      share|improve this question













      I tried all of the above suggestion in this Forum but I am still getting this error.




      Error: Program type already present:
      com.google.android.gms.measurement.internal.zzbn




      Android Studio 3.2.1
      Build #AI-181.5540.7.32.5056338, built on October 9, 2018
      JRE: 1.8.0_152-release-1136-b06 x86_64
      JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o macOS 10.14



      Project Gradle ->



      buildscript {
      repositories {
      google() // here
      jcenter()
      maven {
      url 'https://maven.fabric.io/public'
      }
      }
      dependencies {
      classpath 'com.google.gms:google-services:4.2.0' // google-services plugin
      classpath 'com.android.tools.build:gradle:3.2.1'
      classpath 'io.fabric.tools:gradle:1.26.1'
      classpath 'com.google.firebase:firebase-plugins:1.1.5'

      // NOTE: Do not place your application dependencies here; they belong
      // in the individual module build.gradle files
      }
      }

      allprojects {
      repositories {
      google()
      jcenter()
      maven {
      url 'https://maven.google.com/'
      }
      maven { url 'https://jitpack.io' }
      }
      }


      App Gradle ->



      apply plugin: 'com.android.application'
      apply plugin: 'io.fabric'
      apply plugin: 'com.google.firebase.firebase-perf'


      // Firebase
      implementation "com.google.firebase:firebase-core:16.0.4" // Analytics
      implementation "com.google.firebase:firebase-firestore:17.1.3" // Cloud Firestore
      implementation "com.google.firebase:firebase-auth:16.0.5" // Authentication
      implementation "com.google.firebase:firebase-messaging:17.3.4" // Cloud Messaging / Notifications
      implementation "com.google.firebase:firebase-config:16.1.0" // Remote Config
      implementation "com.google.firebase:firebase-dynamic-links:16.1.3" // Invites / Dynamic Links
      implementation "com.google.firebase:firebase-ads:17.1.0" // AdMob
      implementation "com.google.firebase:firebase-perf:16.2.0" // Perf
      implementation "com.google.firebase:firebase-functions:16.1.3" // Cloud Function

      // Location
      implementation "com.google.android.gms:play-services-location:16.0.0"


      gradle-wrapper.properties ->




      distributionUrl=https://services.gradle.org/distributions/gradle-4.6-all.zip








      android firebase gradle






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Nov 18 at 14:22









      Anupam Dutta

      113




      113





























          active

          oldest

          votes











          Your Answer






          StackExchange.ifUsing("editor", function () {
          StackExchange.using("externalEditor", function () {
          StackExchange.using("snippets", function () {
          StackExchange.snippets.init();
          });
          });
          }, "code-snippets");

          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "1"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














           

          draft saved


          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53361905%2ferror-program-type-already-present-com-google-android-gms-measurement-internal%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown






























          active

          oldest

          votes













          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes
















           

          draft saved


          draft discarded



















































           


          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53361905%2ferror-program-type-already-present-com-google-android-gms-measurement-internal%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Ottavio Pratesi

          Tricia Helfer

          15 giugno