Error after Updating play-services “Program type already present: com.google.android.gms.internal.measurement.zzabo”
I updated play-services dependencies to version 15.0.0 and also added play-services-safetynet to my app.gradle. After that i always get
Program type already present: com.google.android.gms.internal.measurement.zzabo
Messagekind=ERROR, text=Program type already present: com.google.android.gms.internal.measurement.zzabo, sources=[Unknown source file], tool name=Optional.of(D8)
when building the app. here is my app.build:
apply plugin: 'com.android.application'
android
signingConfigs
compileSdkVersion 27
buildToolsVersion '27.0.3'
defaultConfig
applicationId "XXXXXXX"
minSdkVersion 19
targetSdkVersion 27
versionCode 1
versionName "0.0.0.1"
setProperty("archivesBaseName", "XXXXXXX-$versionName")
buildTypes
release
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
packagingOptions
exclude 'META-INF/ASL2.0'
exclude 'META-INF/LICENSE'
exclude 'META-INF/license.txt'
exclude 'META-INF/NOTICE'
exclude 'META-INF/notice.txt'
productFlavors
compileOptions
sourceCompatibility JavaVersion.VERSION_1_7
targetCompatibility JavaVersion.VERSION_1_7
dependencies
compile fileTree(include: ['*.jar'], dir: 'libs')
compile 'com.android.support:support-v4:27.1.1'
compile 'com.android.support:design:27.1.1'
compile 'com.android.support:appcompat-v7:27.1.1'
compile 'com.android.support:recyclerview-v7:27.1.1'
compile 'com.android.support.constraint:constraint-layout:1.1.0'
compile 'org.springframework.android:spring-android-rest-template:1.0.1.RELEASE'
compile 'com.fasterxml.jackson.core:jackson-databind:2.3.2'
compile 'com.koushikdutta.urlimageviewhelper:urlimageviewhelper:1.0.4'
implementation 'com.google.firebase:firebase-core:15.0.0'
implementation 'com.google.firebase:firebase-messaging:15.0.0'
implementation 'com.google.firebase:firebase-appindexing:15.0.0'
implementation 'com.google.android.gms:play-services-location:15.0.0'
implementation 'com.google.android.gms:play-services-safetynet:15.0.0'
compile 'org.kefirsf:kefirbb:1.5'
compile 'org.osmdroid:osmdroid-android:6.0.1'
testCompile 'junit:junit:4.12'
apply plugin: 'com.google.gms.google-services'
android compilation android-gradle google-play-services
add a comment |
I updated play-services dependencies to version 15.0.0 and also added play-services-safetynet to my app.gradle. After that i always get
Program type already present: com.google.android.gms.internal.measurement.zzabo
Messagekind=ERROR, text=Program type already present: com.google.android.gms.internal.measurement.zzabo, sources=[Unknown source file], tool name=Optional.of(D8)
when building the app. here is my app.build:
apply plugin: 'com.android.application'
android
signingConfigs
compileSdkVersion 27
buildToolsVersion '27.0.3'
defaultConfig
applicationId "XXXXXXX"
minSdkVersion 19
targetSdkVersion 27
versionCode 1
versionName "0.0.0.1"
setProperty("archivesBaseName", "XXXXXXX-$versionName")
buildTypes
release
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
packagingOptions
exclude 'META-INF/ASL2.0'
exclude 'META-INF/LICENSE'
exclude 'META-INF/license.txt'
exclude 'META-INF/NOTICE'
exclude 'META-INF/notice.txt'
productFlavors
compileOptions
sourceCompatibility JavaVersion.VERSION_1_7
targetCompatibility JavaVersion.VERSION_1_7
dependencies
compile fileTree(include: ['*.jar'], dir: 'libs')
compile 'com.android.support:support-v4:27.1.1'
compile 'com.android.support:design:27.1.1'
compile 'com.android.support:appcompat-v7:27.1.1'
compile 'com.android.support:recyclerview-v7:27.1.1'
compile 'com.android.support.constraint:constraint-layout:1.1.0'
compile 'org.springframework.android:spring-android-rest-template:1.0.1.RELEASE'
compile 'com.fasterxml.jackson.core:jackson-databind:2.3.2'
compile 'com.koushikdutta.urlimageviewhelper:urlimageviewhelper:1.0.4'
implementation 'com.google.firebase:firebase-core:15.0.0'
implementation 'com.google.firebase:firebase-messaging:15.0.0'
implementation 'com.google.firebase:firebase-appindexing:15.0.0'
implementation 'com.google.android.gms:play-services-location:15.0.0'
implementation 'com.google.android.gms:play-services-safetynet:15.0.0'
compile 'org.kefirsf:kefirbb:1.5'
compile 'org.osmdroid:osmdroid-android:6.0.1'
testCompile 'junit:junit:4.12'
apply plugin: 'com.google.gms.google-services'
android compilation android-gradle google-play-services
I didn't actually update to version 15.0.0, was already on it, and suddenly started getting this (although it seems like something were downloaded.. as if someone pushed a bad version...)
– evenro
May 3 '18 at 3:23
add a comment |
I updated play-services dependencies to version 15.0.0 and also added play-services-safetynet to my app.gradle. After that i always get
Program type already present: com.google.android.gms.internal.measurement.zzabo
Messagekind=ERROR, text=Program type already present: com.google.android.gms.internal.measurement.zzabo, sources=[Unknown source file], tool name=Optional.of(D8)
when building the app. here is my app.build:
apply plugin: 'com.android.application'
android
signingConfigs
compileSdkVersion 27
buildToolsVersion '27.0.3'
defaultConfig
applicationId "XXXXXXX"
minSdkVersion 19
targetSdkVersion 27
versionCode 1
versionName "0.0.0.1"
setProperty("archivesBaseName", "XXXXXXX-$versionName")
buildTypes
release
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
packagingOptions
exclude 'META-INF/ASL2.0'
exclude 'META-INF/LICENSE'
exclude 'META-INF/license.txt'
exclude 'META-INF/NOTICE'
exclude 'META-INF/notice.txt'
productFlavors
compileOptions
sourceCompatibility JavaVersion.VERSION_1_7
targetCompatibility JavaVersion.VERSION_1_7
dependencies
compile fileTree(include: ['*.jar'], dir: 'libs')
compile 'com.android.support:support-v4:27.1.1'
compile 'com.android.support:design:27.1.1'
compile 'com.android.support:appcompat-v7:27.1.1'
compile 'com.android.support:recyclerview-v7:27.1.1'
compile 'com.android.support.constraint:constraint-layout:1.1.0'
compile 'org.springframework.android:spring-android-rest-template:1.0.1.RELEASE'
compile 'com.fasterxml.jackson.core:jackson-databind:2.3.2'
compile 'com.koushikdutta.urlimageviewhelper:urlimageviewhelper:1.0.4'
implementation 'com.google.firebase:firebase-core:15.0.0'
implementation 'com.google.firebase:firebase-messaging:15.0.0'
implementation 'com.google.firebase:firebase-appindexing:15.0.0'
implementation 'com.google.android.gms:play-services-location:15.0.0'
implementation 'com.google.android.gms:play-services-safetynet:15.0.0'
compile 'org.kefirsf:kefirbb:1.5'
compile 'org.osmdroid:osmdroid-android:6.0.1'
testCompile 'junit:junit:4.12'
apply plugin: 'com.google.gms.google-services'
android compilation android-gradle google-play-services
I updated play-services dependencies to version 15.0.0 and also added play-services-safetynet to my app.gradle. After that i always get
Program type already present: com.google.android.gms.internal.measurement.zzabo
Messagekind=ERROR, text=Program type already present: com.google.android.gms.internal.measurement.zzabo, sources=[Unknown source file], tool name=Optional.of(D8)
when building the app. here is my app.build:
apply plugin: 'com.android.application'
android
signingConfigs
compileSdkVersion 27
buildToolsVersion '27.0.3'
defaultConfig
applicationId "XXXXXXX"
minSdkVersion 19
targetSdkVersion 27
versionCode 1
versionName "0.0.0.1"
setProperty("archivesBaseName", "XXXXXXX-$versionName")
buildTypes
release
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
packagingOptions
exclude 'META-INF/ASL2.0'
exclude 'META-INF/LICENSE'
exclude 'META-INF/license.txt'
exclude 'META-INF/NOTICE'
exclude 'META-INF/notice.txt'
productFlavors
compileOptions
sourceCompatibility JavaVersion.VERSION_1_7
targetCompatibility JavaVersion.VERSION_1_7
dependencies
compile fileTree(include: ['*.jar'], dir: 'libs')
compile 'com.android.support:support-v4:27.1.1'
compile 'com.android.support:design:27.1.1'
compile 'com.android.support:appcompat-v7:27.1.1'
compile 'com.android.support:recyclerview-v7:27.1.1'
compile 'com.android.support.constraint:constraint-layout:1.1.0'
compile 'org.springframework.android:spring-android-rest-template:1.0.1.RELEASE'
compile 'com.fasterxml.jackson.core:jackson-databind:2.3.2'
compile 'com.koushikdutta.urlimageviewhelper:urlimageviewhelper:1.0.4'
implementation 'com.google.firebase:firebase-core:15.0.0'
implementation 'com.google.firebase:firebase-messaging:15.0.0'
implementation 'com.google.firebase:firebase-appindexing:15.0.0'
implementation 'com.google.android.gms:play-services-location:15.0.0'
implementation 'com.google.android.gms:play-services-safetynet:15.0.0'
compile 'org.kefirsf:kefirbb:1.5'
compile 'org.osmdroid:osmdroid-android:6.0.1'
testCompile 'junit:junit:4.12'
apply plugin: 'com.google.gms.google-services'
android compilation android-gradle google-play-services
android compilation android-gradle google-play-services
asked May 3 '18 at 2:33
lynxlynx
35139
35139
I didn't actually update to version 15.0.0, was already on it, and suddenly started getting this (although it seems like something were downloaded.. as if someone pushed a bad version...)
– evenro
May 3 '18 at 3:23
add a comment |
I didn't actually update to version 15.0.0, was already on it, and suddenly started getting this (although it seems like something were downloaded.. as if someone pushed a bad version...)
– evenro
May 3 '18 at 3:23
I didn't actually update to version 15.0.0, was already on it, and suddenly started getting this (although it seems like something were downloaded.. as if someone pushed a bad version...)
– evenro
May 3 '18 at 3:23
I didn't actually update to version 15.0.0, was already on it, and suddenly started getting this (although it seems like something were downloaded.. as if someone pushed a bad version...)
– evenro
May 3 '18 at 3:23
add a comment |
5 Answers
5
active
oldest
votes
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'
...
1
classpath 'com.google.gms:google-services:3.2.1' should be classpath 'com.google.gms:google-services:3.3.0'
– Manoj Khanna
May 3 '18 at 9:15
@ManojKhanna thanks, I will edit my answer.
– guillefix
May 3 '18 at 9:31
thanks, that worked!
– lynx
May 3 '18 at 16:11
did not work for me
– Parth Anjaria
May 8 '18 at 6:25
React-Native Warning*,google-services:3.3.0
may fail Gradle sync. Use3.2.1
in this case. See: stackoverflow.com/a/50325145/1762493
– Mikeumus
May 15 '18 at 18:42
add a comment |
You can try using the exact version number following this link:
https://firebase.google.com/support/release-notes/android#latest_sdk_versions
SDK Update - May 2, 2018 - Firebase Android SDKs now have independent version numbers, allowing for more frequent, flexible updates.
1
thanks worked for me
– Naveen Dew
May 3 '18 at 6:37
add a comment |
I faced the same problem today. Google comes with the new release on 02 may 2018.
Please go to the link and set the version no according to the doc:
https://firebase.google.com/support/release-notes/android#20180502
for e.g.
Firebase Core com.google.firebase:firebase-core:15.0.2
add a comment |
Try using firebase libs version 15.0.2
or higher instead. Also clean your project ./gradlew clean
, as well as kill your Gradle daemons: ./gradlew --stop
updating Firebase to 15.0.2 worked for me. Thanks
– Gyome
May 3 '18 at 3:59
add a comment |
1.Update all the firebase libs according to this release page.
2.Update google location and google map service to 15.0.1.
implementation 'com.google.android.gms:play-services-maps:15.0.1'
implementation 'com.google.android.gms:play-services-location:15.0.1'
implementation 'com.google.android.gms:play-services-places:15.0.1'
add a comment |
protected by Nilesh Rathod May 4 '18 at 6:12
Thank you for your interest in this question.
Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).
Would you like to answer one of these unanswered questions instead?
5 Answers
5
active
oldest
votes
5 Answers
5
active
oldest
votes
active
oldest
votes
active
oldest
votes
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'
...
1
classpath 'com.google.gms:google-services:3.2.1' should be classpath 'com.google.gms:google-services:3.3.0'
– Manoj Khanna
May 3 '18 at 9:15
@ManojKhanna thanks, I will edit my answer.
– guillefix
May 3 '18 at 9:31
thanks, that worked!
– lynx
May 3 '18 at 16:11
did not work for me
– Parth Anjaria
May 8 '18 at 6:25
React-Native Warning*,google-services:3.3.0
may fail Gradle sync. Use3.2.1
in this case. See: stackoverflow.com/a/50325145/1762493
– Mikeumus
May 15 '18 at 18:42
add a comment |
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'
...
1
classpath 'com.google.gms:google-services:3.2.1' should be classpath 'com.google.gms:google-services:3.3.0'
– Manoj Khanna
May 3 '18 at 9:15
@ManojKhanna thanks, I will edit my answer.
– guillefix
May 3 '18 at 9:31
thanks, that worked!
– lynx
May 3 '18 at 16:11
did not work for me
– Parth Anjaria
May 8 '18 at 6:25
React-Native Warning*,google-services:3.3.0
may fail Gradle sync. Use3.2.1
in this case. See: stackoverflow.com/a/50325145/1762493
– Mikeumus
May 15 '18 at 18:42
add a comment |
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'
...
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'
...
edited May 3 '18 at 9:31
answered May 3 '18 at 8:54
guillefixguillefix
519315
519315
1
classpath 'com.google.gms:google-services:3.2.1' should be classpath 'com.google.gms:google-services:3.3.0'
– Manoj Khanna
May 3 '18 at 9:15
@ManojKhanna thanks, I will edit my answer.
– guillefix
May 3 '18 at 9:31
thanks, that worked!
– lynx
May 3 '18 at 16:11
did not work for me
– Parth Anjaria
May 8 '18 at 6:25
React-Native Warning*,google-services:3.3.0
may fail Gradle sync. Use3.2.1
in this case. See: stackoverflow.com/a/50325145/1762493
– Mikeumus
May 15 '18 at 18:42
add a comment |
1
classpath 'com.google.gms:google-services:3.2.1' should be classpath 'com.google.gms:google-services:3.3.0'
– Manoj Khanna
May 3 '18 at 9:15
@ManojKhanna thanks, I will edit my answer.
– guillefix
May 3 '18 at 9:31
thanks, that worked!
– lynx
May 3 '18 at 16:11
did not work for me
– Parth Anjaria
May 8 '18 at 6:25
React-Native Warning*,google-services:3.3.0
may fail Gradle sync. Use3.2.1
in this case. See: stackoverflow.com/a/50325145/1762493
– Mikeumus
May 15 '18 at 18:42
1
1
classpath 'com.google.gms:google-services:3.2.1' should be classpath 'com.google.gms:google-services:3.3.0'
– Manoj Khanna
May 3 '18 at 9:15
classpath 'com.google.gms:google-services:3.2.1' should be classpath 'com.google.gms:google-services:3.3.0'
– Manoj Khanna
May 3 '18 at 9:15
@ManojKhanna thanks, I will edit my answer.
– guillefix
May 3 '18 at 9:31
@ManojKhanna thanks, I will edit my answer.
– guillefix
May 3 '18 at 9:31
thanks, that worked!
– lynx
May 3 '18 at 16:11
thanks, that worked!
– lynx
May 3 '18 at 16:11
did not work for me
– Parth Anjaria
May 8 '18 at 6:25
did not work for me
– Parth Anjaria
May 8 '18 at 6:25
React-Native Warning*,
google-services:3.3.0
may fail Gradle sync. Use 3.2.1
in this case. See: stackoverflow.com/a/50325145/1762493– Mikeumus
May 15 '18 at 18:42
React-Native Warning*,
google-services:3.3.0
may fail Gradle sync. Use 3.2.1
in this case. See: stackoverflow.com/a/50325145/1762493– Mikeumus
May 15 '18 at 18:42
add a comment |
You can try using the exact version number following this link:
https://firebase.google.com/support/release-notes/android#latest_sdk_versions
SDK Update - May 2, 2018 - Firebase Android SDKs now have independent version numbers, allowing for more frequent, flexible updates.
1
thanks worked for me
– Naveen Dew
May 3 '18 at 6:37
add a comment |
You can try using the exact version number following this link:
https://firebase.google.com/support/release-notes/android#latest_sdk_versions
SDK Update - May 2, 2018 - Firebase Android SDKs now have independent version numbers, allowing for more frequent, flexible updates.
1
thanks worked for me
– Naveen Dew
May 3 '18 at 6:37
add a comment |
You can try using the exact version number following this link:
https://firebase.google.com/support/release-notes/android#latest_sdk_versions
SDK Update - May 2, 2018 - Firebase Android SDKs now have independent version numbers, allowing for more frequent, flexible updates.
You can try using the exact version number following this link:
https://firebase.google.com/support/release-notes/android#latest_sdk_versions
SDK Update - May 2, 2018 - Firebase Android SDKs now have independent version numbers, allowing for more frequent, flexible updates.
answered May 3 '18 at 4:21
ldemayldemay
378520
378520
1
thanks worked for me
– Naveen Dew
May 3 '18 at 6:37
add a comment |
1
thanks worked for me
– Naveen Dew
May 3 '18 at 6:37
1
1
thanks worked for me
– Naveen Dew
May 3 '18 at 6:37
thanks worked for me
– Naveen Dew
May 3 '18 at 6:37
add a comment |
I faced the same problem today. Google comes with the new release on 02 may 2018.
Please go to the link and set the version no according to the doc:
https://firebase.google.com/support/release-notes/android#20180502
for e.g.
Firebase Core com.google.firebase:firebase-core:15.0.2
add a comment |
I faced the same problem today. Google comes with the new release on 02 may 2018.
Please go to the link and set the version no according to the doc:
https://firebase.google.com/support/release-notes/android#20180502
for e.g.
Firebase Core com.google.firebase:firebase-core:15.0.2
add a comment |
I faced the same problem today. Google comes with the new release on 02 may 2018.
Please go to the link and set the version no according to the doc:
https://firebase.google.com/support/release-notes/android#20180502
for e.g.
Firebase Core com.google.firebase:firebase-core:15.0.2
I faced the same problem today. Google comes with the new release on 02 may 2018.
Please go to the link and set the version no according to the doc:
https://firebase.google.com/support/release-notes/android#20180502
for e.g.
Firebase Core com.google.firebase:firebase-core:15.0.2
edited May 4 '18 at 5:45
answered May 3 '18 at 11:36
Sandeep SinghSandeep Singh
569518
569518
add a comment |
add a comment |
Try using firebase libs version 15.0.2
or higher instead. Also clean your project ./gradlew clean
, as well as kill your Gradle daemons: ./gradlew --stop
updating Firebase to 15.0.2 worked for me. Thanks
– Gyome
May 3 '18 at 3:59
add a comment |
Try using firebase libs version 15.0.2
or higher instead. Also clean your project ./gradlew clean
, as well as kill your Gradle daemons: ./gradlew --stop
updating Firebase to 15.0.2 worked for me. Thanks
– Gyome
May 3 '18 at 3:59
add a comment |
Try using firebase libs version 15.0.2
or higher instead. Also clean your project ./gradlew clean
, as well as kill your Gradle daemons: ./gradlew --stop
Try using firebase libs version 15.0.2
or higher instead. Also clean your project ./gradlew clean
, as well as kill your Gradle daemons: ./gradlew --stop
edited May 3 '18 at 3:58
answered May 3 '18 at 3:53
friederbluemlefriederbluemle
9,76655470
9,76655470
updating Firebase to 15.0.2 worked for me. Thanks
– Gyome
May 3 '18 at 3:59
add a comment |
updating Firebase to 15.0.2 worked for me. Thanks
– Gyome
May 3 '18 at 3:59
updating Firebase to 15.0.2 worked for me. Thanks
– Gyome
May 3 '18 at 3:59
updating Firebase to 15.0.2 worked for me. Thanks
– Gyome
May 3 '18 at 3:59
add a comment |
1.Update all the firebase libs according to this release page.
2.Update google location and google map service to 15.0.1.
implementation 'com.google.android.gms:play-services-maps:15.0.1'
implementation 'com.google.android.gms:play-services-location:15.0.1'
implementation 'com.google.android.gms:play-services-places:15.0.1'
add a comment |
1.Update all the firebase libs according to this release page.
2.Update google location and google map service to 15.0.1.
implementation 'com.google.android.gms:play-services-maps:15.0.1'
implementation 'com.google.android.gms:play-services-location:15.0.1'
implementation 'com.google.android.gms:play-services-places:15.0.1'
add a comment |
1.Update all the firebase libs according to this release page.
2.Update google location and google map service to 15.0.1.
implementation 'com.google.android.gms:play-services-maps:15.0.1'
implementation 'com.google.android.gms:play-services-location:15.0.1'
implementation 'com.google.android.gms:play-services-places:15.0.1'
1.Update all the firebase libs according to this release page.
2.Update google location and google map service to 15.0.1.
implementation 'com.google.android.gms:play-services-maps:15.0.1'
implementation 'com.google.android.gms:play-services-location:15.0.1'
implementation 'com.google.android.gms:play-services-places:15.0.1'
edited May 4 '18 at 6:12
Nilesh Rathod
32.2k82956
32.2k82956
answered May 3 '18 at 22:43
Wendy ChenWendy Chen
86117
86117
add a comment |
add a comment |
protected by Nilesh Rathod May 4 '18 at 6:12
Thank you for your interest in this question.
Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).
Would you like to answer one of these unanswered questions instead?
I didn't actually update to version 15.0.0, was already on it, and suddenly started getting this (although it seems like something were downloaded.. as if someone pushed a bad version...)
– evenro
May 3 '18 at 3:23