Android Studio- Program Type Already Present: Com.Google.Android.Gms.Internal.Measurement.Zzwp

Android Studio- Program type already present: com.google.android.gms.internal.measurement.zzwp

Resolved this issue after updating a firebase dependencies to latest one for example com.google.firebase:firebase-core:15.0.0 to com.google.firebase:firebase-core:15.0.2 Get Latest List from here

All other changes made in below list

  dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'com.android.support:appcompat-v7:27.1.1'
implementation 'com.android.support:customtabs:27.1.1'
implementation 'com.android.support.constraint:constraint-layout:1.1.0'
testImplementation 'junit:junit:4.12'
androidTestImplementation 'com.android.support.test:runner:1.0.2'
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'

implementation 'com.github.PhilJay:MPAndroidChart:v3.0.3'

implementation 'com.facebook.android:audience-network-sdk:4.28.0'
implementation 'com.facebook.android:facebook-login:4.32.0'
implementation 'com.android.support:multidex:1.0.3'

implementation 'com.readystatesoftware.sqliteasset:sqliteassethelper:2.0.1'

implementation 'com.android.support:support-v4:27.1.1'
testImplementation 'junit:junit:4.12'
androidTestImplementation 'com.android.support.test:runner:1.0.2'
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'

implementation 'com.google.firebase:firebase-core:15.0.2'
implementation 'com.google.firebase:firebase-database:15.0.0'
implementation 'com.google.firebase:firebase-crash:15.0.2'
implementation 'com.google.firebase:firebase-auth:15.0.0'
implementation 'com.google.firebase:firebase-storage:15.0.2'
implementation 'com.firebaseui:firebase-ui-database:3.3.1'

implementation 'com.google.android.gms:play-services-auth:15.0.0'
implementation 'com.google.android.gms:play-services-plus:15.0.0'
implementation 'com.google.android.gms:play-services-location:15.0.0'

implementation 'com.android.support:cardview-v7:27.1.1'
implementation 'com.android.support:recyclerview-v7:27.1.1'

implementation 'com.squareup.picasso:picasso:2.5.2'
implementation 'com.squareup.retrofit2:retrofit:2.3.0'
implementation 'com.squareup.retrofit2:converter-gson:2.3.0'

implementation 'com.stepstone.apprating:app-rating:2.2.0'
implementation 'com.android.support:design:27.1.1'
implementation 'com.github.lguipeng:BubbleView:1.0.1'

implementation 'uk.co.chrisjenx:calligraphy:2.3.0'

implementation 'com.miguelcatalan:materialsearchview:1.4.0'

implementation 'com.github.MdFarhanRaja:SearchableSpinner:1.9'

implementation 'com.github.sillebille:dynamic-calendar:1.0.1'

implementation 'com.google.api-client:google-api-client:1.22.0'
implementation 'com.google.api-client:google-api-client-android:1.22.0'
implementation 'com.google.apis:google-api-services-people:v1-rev4-1.22.0'
}

2) In top level build.gradle file update from
classpath 'com.google.gms:google-services:3.1.1 to classpath 'com.google.gms:google-services:3.2.1

Error after Updating play-services Program type already present: com.google.android.gms.internal.measurement.zzabo

In my case, I had to update Firebase from version 15.0.0 to 15.0.2 in project's build.gradle:

dependencies {
...
implementation "com.google.firebase:firebase-messaging:15.0.2"
...
}

And then in app's build.gradle I had to update google-services from 3.1.1 to 3.3.0:

dependencies {
...
classpath 'com.google.gms:google-services:3.3.0'
...
}


Related Topics



Leave a reply



Submit