Android gradle dependencies conflicts and duplicate value for resource
Following are gradle dependencies in my app
ext {
supportLibraryVersion = '27.1.1'
playServicesVersion = '16.0.0'
firebaseVersion = '16.0.4'
}
dependencies {
implementation fileTree(include: ['*.jar'], dir: 'libs')
implementation project(':pageIndicator')
implementation('io.branch.sdk.android:library:2.+') {
exclude module: 'answers-shim'
}
implementation 'com.google.zxing:core:3.3.0'
implementation 'com.sothree.slidinguppanel:library:3.1.1'
implementation 'com.android.support:multidex:1.0.3'
implementation 'com.squareup.picasso:picasso:2.71828'
implementation 'com.jakewharton.picasso:picasso2-okhttp3-downloader:1.1.0'
//Support library
implementation "com.android.support:appcompat-v7:${supportLibraryVersion}"
implementation "com.android.support:recyclerview-v7:${supportLibraryVersion}"
implementation "com.android.support:cardview-v7:${supportLibraryVersion}"
implementation "com.android.support:support-v4:${supportLibraryVersion}"
implementation "com.android.support:design:${supportLibraryVersion}"
implementation "com.android.support:customtabs:${supportLibraryVersion}"
implementation "com.android.support:exifinterface:${supportLibraryVersion}"
//Support library
//play services
implementation "com.google.android.gms:play-services-base:${playServicesVersion}"
implementation "com.google.android.gms:play-services-maps:${playServicesVersion}"
implementation "com.google.android.gms:play-services-places:${playServicesVersion}"
implementation "com.google.android.gms:play-services-location:${playServicesVersion}"
implementation "com.google.android.gms:play-services-plus:${playServicesVersion}"
implementation "com.google.android.gms:play-services-auth:16.0.1"
implementation "com.google.android.gms:play-services-analytics:16.0.5"
//play services
implementation 'com.android.volley:volley:1.1.1'
implementation 'com.flurry.android:analytics:7.0.0'
implementation 'com.github.clans:fab:1.6.4'
implementation 'com.github.PhilJay:MPAndroidChart:v3.0.0-beta1'
//firebase
implementation "com.google.firebase:firebase-messaging:17.3.4"
implementation "com.google.firebase:firebase-core:16.0.4"
implementation "com.google.firebase:firebase-analytics:16.0.5"
implementation "com.google.firebase:firebase-appindexing:16.0.2"
implementation "com.google.firebase:firebase-ads:17.1.0"
//firebase
implementation 'com.squareup.okhttp3:okhttp:3.10.0'
implementation 'com.squareup.okhttp:okhttp-urlconnection:2.7.5'
implementation 'com.clevertap.android:clevertap-android-sdk:3.1.4'
implementation 'com.ncapdevi:frag-nav:2.4.0'
implementation 'com.android.support.constraint:constraint-layout:1.1.3'
implementation 'joda-time:joda-time:2.9.9'
implementation 'com.evernote:android-job:1.1.11'
implementation 'com.rengwuxian.materialedittext:library:2.1.4'
implementation 'com.toptoche.searchablespinner:searchablespinnerlibrary:1.3.1'
implementation 'com.bigbangbutton:editcodeview:1.0.5'
implementation 'com.facebook.android:facebook-login:4.30.0'
implementation 'com.github.chrisbanes:PhotoView:2.1.3'
implementation 'com.koushikdutta.async:androidasync:2.+'
implementation 'org.java-websocket:Java-WebSocket:1.3.7'
implementation 'com.michaelpardo:activeandroid:3.1.0-SNAPSHOT'
implementation 'com.google.code.gson:gson:2.8.2'
}
I am getting following error message while making build
Please fix the version conflict either by updating the version of the google-services plugin (information about the latest version is available at https://bintray.com/android/android-tools/com.google.gms.google-services/) or updating the version of com.google.android.gms to 16.0.0.
Tried running following command to see dependency tree
gradle dependencies --configuration compile
Following is output of command
--- com.google.firebase:firebase-core:16.0.0
+--- com.google.firebase:firebase-analytics:16.0.0
| +--- com.google.android.gms:play-services-basement:15.0.1
| | --- com.android.support:support-v4:26.1.0
| | +--- com.android.support:support-compat:26.1.0
| | | +--- com.android.support:support-annotations:26.1.0
| | | --- android.arch.lifecycle:runtime:1.0.0
| | | +--- android.arch.lifecycle:common:1.0.0
| | | --- android.arch.core:common:1.0.0
| | +--- com.android.support:support-media-compat:26.1.0
| | | +--- com.android.support:support-annotations:26.1.0
| | | --- com.android.support:support-compat:26.1.0 (*)
| | +--- com.android.support:support-core-utils:26.1.0
| | | +--- com.android.support:support-annotations:26.1.0
| | | --- com.android.support:support-compat:26.1.0 (*)
| | +--- com.android.support:support-core-ui:26.1.0
| | | +--- com.android.support:support-annotations:26.1.0
| | | --- com.android.support:support-compat:26.1.0 (*)
| | --- com.android.support:support-fragment:26.1.0
| | +--- com.android.support:support-compat:26.1.0 (*)
| | +--- com.android.support:support-core-ui:26.1.0 (*)
| | --- com.android.support:support-core-utils:26.1.0 (*)
| +--- com.google.android.gms:play-services-measurement-base:[15.0.4] -> 15.0.4
| +--- com.google.android.gms:play-services-stats:15.0.1
| | --- com.google.android.gms:play-services-basement:[15.0.1] -> 15.0.1 (*)
| +--- com.google.firebase:firebase-analytics-impl:[16.0.0] -> 16.0.0
| | +--- com.google.android.gms:play-services-ads-identifier:15.0.1
| | | --- com.google.android.gms:play-services-basement:[15.0.1,16.0.0) -> 15.0.1 (*)
| | +--- com.google.android.gms:play-services-basement:15.0.1 (*)
| | +--- com.google.android.gms:play-services-measurement-base:[15.0.4] -> 15.0.4
| | +--- com.google.android.gms:play-services-stats:15.0.1 (*)
| | +--- com.google.android.gms:play-services-tasks:15.0.1
| | | --- com.google.android.gms:play-services-basement:[15.0.1] -> 15.0.1 (*)
| | +--- com.google.firebase:firebase-common:16.0.0
| | | +--- com.google.android.gms:play-services-basement:15.0.1 (*)
| | | --- com.google.android.gms:play-services-tasks:15.0.1 (*)
| | --- com.google.firebase:firebase-iid:16.0.0
| | +--- com.google.android.gms:play-services-basement:15.0.1 (*)
| | +--- com.google.android.gms:play-services-stats:15.0.1 (*)
| | +--- com.google.android.gms:play-services-tasks:15.0.1 (*)
| | +--- com.google.firebase:firebase-common:16.0.0 (*)
| | --- com.google.firebase:firebase-iid-interop:16.0.0
| | +--- com.google.android.gms:play-services-base:15.0.1
| | | +--- com.google.android.gms:play-services-basement:[15.0.1] -> 15.0.1 (*)
| | | --- com.google.android.gms:play-services-tasks:[15.0.1] -> 15.0.1 (*)
| | --- com.google.android.gms:play-services-basement:15.0.1 (*)
| --- com.google.firebase:firebase-common:16.0.0 (*)
--- com.google.firebase:firebase-measurement-connector-impl:16.0.0
+--- com.google.android.gms:play-services-basement:15.0.1 (*)
+--- com.google.android.gms:play-services-measurement-base:[15.0.4] -> 15.0.4
+--- com.google.firebase:firebase-analytics:[16.0.0] -> 16.0.0 (*)
+--- com.google.firebase:firebase-analytics-impl:[16.0.0] -> 16.0.0 (*)
+--- com.google.firebase:firebase-common:16.0.0 (*)
--- com.google.firebase:firebase-measurement-connector:16.0.0
--- com.google.android.gms:play-services-basement:15.0.1 (*)
(*) - dependencies omitted (listed previously)
Not getting where exactly conflict is and how to solve it?
solved this by updating main gradle file as below
buildscript {
repositories {
jcenter()
google()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.2.1'
classpath 'com.google.gms:google-services:4.0.2'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
jcenter()
maven { url "https://jitpack.io" }
maven {
url "http://dl.bintray.com/piasy/maven"
}
maven { url "https://oss.sonatype.org/content/repositories/snapshots/" }
google()
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
Now getting following issue
error: duplicate value for resource 'attr/fontStyle' with config ''.
appbuildintermediatesincrementalmergeDebugResourcesmerged.dirvaluesvalues.xml:1421: error: resource previously defined here.
android firebase gradle android-gradle google-play-services
add a comment |
Following are gradle dependencies in my app
ext {
supportLibraryVersion = '27.1.1'
playServicesVersion = '16.0.0'
firebaseVersion = '16.0.4'
}
dependencies {
implementation fileTree(include: ['*.jar'], dir: 'libs')
implementation project(':pageIndicator')
implementation('io.branch.sdk.android:library:2.+') {
exclude module: 'answers-shim'
}
implementation 'com.google.zxing:core:3.3.0'
implementation 'com.sothree.slidinguppanel:library:3.1.1'
implementation 'com.android.support:multidex:1.0.3'
implementation 'com.squareup.picasso:picasso:2.71828'
implementation 'com.jakewharton.picasso:picasso2-okhttp3-downloader:1.1.0'
//Support library
implementation "com.android.support:appcompat-v7:${supportLibraryVersion}"
implementation "com.android.support:recyclerview-v7:${supportLibraryVersion}"
implementation "com.android.support:cardview-v7:${supportLibraryVersion}"
implementation "com.android.support:support-v4:${supportLibraryVersion}"
implementation "com.android.support:design:${supportLibraryVersion}"
implementation "com.android.support:customtabs:${supportLibraryVersion}"
implementation "com.android.support:exifinterface:${supportLibraryVersion}"
//Support library
//play services
implementation "com.google.android.gms:play-services-base:${playServicesVersion}"
implementation "com.google.android.gms:play-services-maps:${playServicesVersion}"
implementation "com.google.android.gms:play-services-places:${playServicesVersion}"
implementation "com.google.android.gms:play-services-location:${playServicesVersion}"
implementation "com.google.android.gms:play-services-plus:${playServicesVersion}"
implementation "com.google.android.gms:play-services-auth:16.0.1"
implementation "com.google.android.gms:play-services-analytics:16.0.5"
//play services
implementation 'com.android.volley:volley:1.1.1'
implementation 'com.flurry.android:analytics:7.0.0'
implementation 'com.github.clans:fab:1.6.4'
implementation 'com.github.PhilJay:MPAndroidChart:v3.0.0-beta1'
//firebase
implementation "com.google.firebase:firebase-messaging:17.3.4"
implementation "com.google.firebase:firebase-core:16.0.4"
implementation "com.google.firebase:firebase-analytics:16.0.5"
implementation "com.google.firebase:firebase-appindexing:16.0.2"
implementation "com.google.firebase:firebase-ads:17.1.0"
//firebase
implementation 'com.squareup.okhttp3:okhttp:3.10.0'
implementation 'com.squareup.okhttp:okhttp-urlconnection:2.7.5'
implementation 'com.clevertap.android:clevertap-android-sdk:3.1.4'
implementation 'com.ncapdevi:frag-nav:2.4.0'
implementation 'com.android.support.constraint:constraint-layout:1.1.3'
implementation 'joda-time:joda-time:2.9.9'
implementation 'com.evernote:android-job:1.1.11'
implementation 'com.rengwuxian.materialedittext:library:2.1.4'
implementation 'com.toptoche.searchablespinner:searchablespinnerlibrary:1.3.1'
implementation 'com.bigbangbutton:editcodeview:1.0.5'
implementation 'com.facebook.android:facebook-login:4.30.0'
implementation 'com.github.chrisbanes:PhotoView:2.1.3'
implementation 'com.koushikdutta.async:androidasync:2.+'
implementation 'org.java-websocket:Java-WebSocket:1.3.7'
implementation 'com.michaelpardo:activeandroid:3.1.0-SNAPSHOT'
implementation 'com.google.code.gson:gson:2.8.2'
}
I am getting following error message while making build
Please fix the version conflict either by updating the version of the google-services plugin (information about the latest version is available at https://bintray.com/android/android-tools/com.google.gms.google-services/) or updating the version of com.google.android.gms to 16.0.0.
Tried running following command to see dependency tree
gradle dependencies --configuration compile
Following is output of command
--- com.google.firebase:firebase-core:16.0.0
+--- com.google.firebase:firebase-analytics:16.0.0
| +--- com.google.android.gms:play-services-basement:15.0.1
| | --- com.android.support:support-v4:26.1.0
| | +--- com.android.support:support-compat:26.1.0
| | | +--- com.android.support:support-annotations:26.1.0
| | | --- android.arch.lifecycle:runtime:1.0.0
| | | +--- android.arch.lifecycle:common:1.0.0
| | | --- android.arch.core:common:1.0.0
| | +--- com.android.support:support-media-compat:26.1.0
| | | +--- com.android.support:support-annotations:26.1.0
| | | --- com.android.support:support-compat:26.1.0 (*)
| | +--- com.android.support:support-core-utils:26.1.0
| | | +--- com.android.support:support-annotations:26.1.0
| | | --- com.android.support:support-compat:26.1.0 (*)
| | +--- com.android.support:support-core-ui:26.1.0
| | | +--- com.android.support:support-annotations:26.1.0
| | | --- com.android.support:support-compat:26.1.0 (*)
| | --- com.android.support:support-fragment:26.1.0
| | +--- com.android.support:support-compat:26.1.0 (*)
| | +--- com.android.support:support-core-ui:26.1.0 (*)
| | --- com.android.support:support-core-utils:26.1.0 (*)
| +--- com.google.android.gms:play-services-measurement-base:[15.0.4] -> 15.0.4
| +--- com.google.android.gms:play-services-stats:15.0.1
| | --- com.google.android.gms:play-services-basement:[15.0.1] -> 15.0.1 (*)
| +--- com.google.firebase:firebase-analytics-impl:[16.0.0] -> 16.0.0
| | +--- com.google.android.gms:play-services-ads-identifier:15.0.1
| | | --- com.google.android.gms:play-services-basement:[15.0.1,16.0.0) -> 15.0.1 (*)
| | +--- com.google.android.gms:play-services-basement:15.0.1 (*)
| | +--- com.google.android.gms:play-services-measurement-base:[15.0.4] -> 15.0.4
| | +--- com.google.android.gms:play-services-stats:15.0.1 (*)
| | +--- com.google.android.gms:play-services-tasks:15.0.1
| | | --- com.google.android.gms:play-services-basement:[15.0.1] -> 15.0.1 (*)
| | +--- com.google.firebase:firebase-common:16.0.0
| | | +--- com.google.android.gms:play-services-basement:15.0.1 (*)
| | | --- com.google.android.gms:play-services-tasks:15.0.1 (*)
| | --- com.google.firebase:firebase-iid:16.0.0
| | +--- com.google.android.gms:play-services-basement:15.0.1 (*)
| | +--- com.google.android.gms:play-services-stats:15.0.1 (*)
| | +--- com.google.android.gms:play-services-tasks:15.0.1 (*)
| | +--- com.google.firebase:firebase-common:16.0.0 (*)
| | --- com.google.firebase:firebase-iid-interop:16.0.0
| | +--- com.google.android.gms:play-services-base:15.0.1
| | | +--- com.google.android.gms:play-services-basement:[15.0.1] -> 15.0.1 (*)
| | | --- com.google.android.gms:play-services-tasks:[15.0.1] -> 15.0.1 (*)
| | --- com.google.android.gms:play-services-basement:15.0.1 (*)
| --- com.google.firebase:firebase-common:16.0.0 (*)
--- com.google.firebase:firebase-measurement-connector-impl:16.0.0
+--- com.google.android.gms:play-services-basement:15.0.1 (*)
+--- com.google.android.gms:play-services-measurement-base:[15.0.4] -> 15.0.4
+--- com.google.firebase:firebase-analytics:[16.0.0] -> 16.0.0 (*)
+--- com.google.firebase:firebase-analytics-impl:[16.0.0] -> 16.0.0 (*)
+--- com.google.firebase:firebase-common:16.0.0 (*)
--- com.google.firebase:firebase-measurement-connector:16.0.0
--- com.google.android.gms:play-services-basement:15.0.1 (*)
(*) - dependencies omitted (listed previously)
Not getting where exactly conflict is and how to solve it?
solved this by updating main gradle file as below
buildscript {
repositories {
jcenter()
google()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.2.1'
classpath 'com.google.gms:google-services:4.0.2'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
jcenter()
maven { url "https://jitpack.io" }
maven {
url "http://dl.bintray.com/piasy/maven"
}
maven { url "https://oss.sonatype.org/content/repositories/snapshots/" }
google()
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
Now getting following issue
error: duplicate value for resource 'attr/fontStyle' with config ''.
appbuildintermediatesincrementalmergeDebugResourcesmerged.dirvaluesvalues.xml:1421: error: resource previously defined here.
android firebase gradle android-gradle google-play-services
I tried to resolve this issue to... 3 days no answers
– Vadim Eksler
Nov 13 '18 at 9:53
What is you com.google.gms:google-services version in app (project level) build.gradle?
– Vadim Eksler
Nov 13 '18 at 9:55
You provided libraries list from dependencies. But what's the version of the google-services plugin?
– naXa
Nov 13 '18 at 9:55
using 16.0.0 version
– amodkanthe
Nov 13 '18 at 10:14
add a comment |
Following are gradle dependencies in my app
ext {
supportLibraryVersion = '27.1.1'
playServicesVersion = '16.0.0'
firebaseVersion = '16.0.4'
}
dependencies {
implementation fileTree(include: ['*.jar'], dir: 'libs')
implementation project(':pageIndicator')
implementation('io.branch.sdk.android:library:2.+') {
exclude module: 'answers-shim'
}
implementation 'com.google.zxing:core:3.3.0'
implementation 'com.sothree.slidinguppanel:library:3.1.1'
implementation 'com.android.support:multidex:1.0.3'
implementation 'com.squareup.picasso:picasso:2.71828'
implementation 'com.jakewharton.picasso:picasso2-okhttp3-downloader:1.1.0'
//Support library
implementation "com.android.support:appcompat-v7:${supportLibraryVersion}"
implementation "com.android.support:recyclerview-v7:${supportLibraryVersion}"
implementation "com.android.support:cardview-v7:${supportLibraryVersion}"
implementation "com.android.support:support-v4:${supportLibraryVersion}"
implementation "com.android.support:design:${supportLibraryVersion}"
implementation "com.android.support:customtabs:${supportLibraryVersion}"
implementation "com.android.support:exifinterface:${supportLibraryVersion}"
//Support library
//play services
implementation "com.google.android.gms:play-services-base:${playServicesVersion}"
implementation "com.google.android.gms:play-services-maps:${playServicesVersion}"
implementation "com.google.android.gms:play-services-places:${playServicesVersion}"
implementation "com.google.android.gms:play-services-location:${playServicesVersion}"
implementation "com.google.android.gms:play-services-plus:${playServicesVersion}"
implementation "com.google.android.gms:play-services-auth:16.0.1"
implementation "com.google.android.gms:play-services-analytics:16.0.5"
//play services
implementation 'com.android.volley:volley:1.1.1'
implementation 'com.flurry.android:analytics:7.0.0'
implementation 'com.github.clans:fab:1.6.4'
implementation 'com.github.PhilJay:MPAndroidChart:v3.0.0-beta1'
//firebase
implementation "com.google.firebase:firebase-messaging:17.3.4"
implementation "com.google.firebase:firebase-core:16.0.4"
implementation "com.google.firebase:firebase-analytics:16.0.5"
implementation "com.google.firebase:firebase-appindexing:16.0.2"
implementation "com.google.firebase:firebase-ads:17.1.0"
//firebase
implementation 'com.squareup.okhttp3:okhttp:3.10.0'
implementation 'com.squareup.okhttp:okhttp-urlconnection:2.7.5'
implementation 'com.clevertap.android:clevertap-android-sdk:3.1.4'
implementation 'com.ncapdevi:frag-nav:2.4.0'
implementation 'com.android.support.constraint:constraint-layout:1.1.3'
implementation 'joda-time:joda-time:2.9.9'
implementation 'com.evernote:android-job:1.1.11'
implementation 'com.rengwuxian.materialedittext:library:2.1.4'
implementation 'com.toptoche.searchablespinner:searchablespinnerlibrary:1.3.1'
implementation 'com.bigbangbutton:editcodeview:1.0.5'
implementation 'com.facebook.android:facebook-login:4.30.0'
implementation 'com.github.chrisbanes:PhotoView:2.1.3'
implementation 'com.koushikdutta.async:androidasync:2.+'
implementation 'org.java-websocket:Java-WebSocket:1.3.7'
implementation 'com.michaelpardo:activeandroid:3.1.0-SNAPSHOT'
implementation 'com.google.code.gson:gson:2.8.2'
}
I am getting following error message while making build
Please fix the version conflict either by updating the version of the google-services plugin (information about the latest version is available at https://bintray.com/android/android-tools/com.google.gms.google-services/) or updating the version of com.google.android.gms to 16.0.0.
Tried running following command to see dependency tree
gradle dependencies --configuration compile
Following is output of command
--- com.google.firebase:firebase-core:16.0.0
+--- com.google.firebase:firebase-analytics:16.0.0
| +--- com.google.android.gms:play-services-basement:15.0.1
| | --- com.android.support:support-v4:26.1.0
| | +--- com.android.support:support-compat:26.1.0
| | | +--- com.android.support:support-annotations:26.1.0
| | | --- android.arch.lifecycle:runtime:1.0.0
| | | +--- android.arch.lifecycle:common:1.0.0
| | | --- android.arch.core:common:1.0.0
| | +--- com.android.support:support-media-compat:26.1.0
| | | +--- com.android.support:support-annotations:26.1.0
| | | --- com.android.support:support-compat:26.1.0 (*)
| | +--- com.android.support:support-core-utils:26.1.0
| | | +--- com.android.support:support-annotations:26.1.0
| | | --- com.android.support:support-compat:26.1.0 (*)
| | +--- com.android.support:support-core-ui:26.1.0
| | | +--- com.android.support:support-annotations:26.1.0
| | | --- com.android.support:support-compat:26.1.0 (*)
| | --- com.android.support:support-fragment:26.1.0
| | +--- com.android.support:support-compat:26.1.0 (*)
| | +--- com.android.support:support-core-ui:26.1.0 (*)
| | --- com.android.support:support-core-utils:26.1.0 (*)
| +--- com.google.android.gms:play-services-measurement-base:[15.0.4] -> 15.0.4
| +--- com.google.android.gms:play-services-stats:15.0.1
| | --- com.google.android.gms:play-services-basement:[15.0.1] -> 15.0.1 (*)
| +--- com.google.firebase:firebase-analytics-impl:[16.0.0] -> 16.0.0
| | +--- com.google.android.gms:play-services-ads-identifier:15.0.1
| | | --- com.google.android.gms:play-services-basement:[15.0.1,16.0.0) -> 15.0.1 (*)
| | +--- com.google.android.gms:play-services-basement:15.0.1 (*)
| | +--- com.google.android.gms:play-services-measurement-base:[15.0.4] -> 15.0.4
| | +--- com.google.android.gms:play-services-stats:15.0.1 (*)
| | +--- com.google.android.gms:play-services-tasks:15.0.1
| | | --- com.google.android.gms:play-services-basement:[15.0.1] -> 15.0.1 (*)
| | +--- com.google.firebase:firebase-common:16.0.0
| | | +--- com.google.android.gms:play-services-basement:15.0.1 (*)
| | | --- com.google.android.gms:play-services-tasks:15.0.1 (*)
| | --- com.google.firebase:firebase-iid:16.0.0
| | +--- com.google.android.gms:play-services-basement:15.0.1 (*)
| | +--- com.google.android.gms:play-services-stats:15.0.1 (*)
| | +--- com.google.android.gms:play-services-tasks:15.0.1 (*)
| | +--- com.google.firebase:firebase-common:16.0.0 (*)
| | --- com.google.firebase:firebase-iid-interop:16.0.0
| | +--- com.google.android.gms:play-services-base:15.0.1
| | | +--- com.google.android.gms:play-services-basement:[15.0.1] -> 15.0.1 (*)
| | | --- com.google.android.gms:play-services-tasks:[15.0.1] -> 15.0.1 (*)
| | --- com.google.android.gms:play-services-basement:15.0.1 (*)
| --- com.google.firebase:firebase-common:16.0.0 (*)
--- com.google.firebase:firebase-measurement-connector-impl:16.0.0
+--- com.google.android.gms:play-services-basement:15.0.1 (*)
+--- com.google.android.gms:play-services-measurement-base:[15.0.4] -> 15.0.4
+--- com.google.firebase:firebase-analytics:[16.0.0] -> 16.0.0 (*)
+--- com.google.firebase:firebase-analytics-impl:[16.0.0] -> 16.0.0 (*)
+--- com.google.firebase:firebase-common:16.0.0 (*)
--- com.google.firebase:firebase-measurement-connector:16.0.0
--- com.google.android.gms:play-services-basement:15.0.1 (*)
(*) - dependencies omitted (listed previously)
Not getting where exactly conflict is and how to solve it?
solved this by updating main gradle file as below
buildscript {
repositories {
jcenter()
google()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.2.1'
classpath 'com.google.gms:google-services:4.0.2'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
jcenter()
maven { url "https://jitpack.io" }
maven {
url "http://dl.bintray.com/piasy/maven"
}
maven { url "https://oss.sonatype.org/content/repositories/snapshots/" }
google()
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
Now getting following issue
error: duplicate value for resource 'attr/fontStyle' with config ''.
appbuildintermediatesincrementalmergeDebugResourcesmerged.dirvaluesvalues.xml:1421: error: resource previously defined here.
android firebase gradle android-gradle google-play-services
Following are gradle dependencies in my app
ext {
supportLibraryVersion = '27.1.1'
playServicesVersion = '16.0.0'
firebaseVersion = '16.0.4'
}
dependencies {
implementation fileTree(include: ['*.jar'], dir: 'libs')
implementation project(':pageIndicator')
implementation('io.branch.sdk.android:library:2.+') {
exclude module: 'answers-shim'
}
implementation 'com.google.zxing:core:3.3.0'
implementation 'com.sothree.slidinguppanel:library:3.1.1'
implementation 'com.android.support:multidex:1.0.3'
implementation 'com.squareup.picasso:picasso:2.71828'
implementation 'com.jakewharton.picasso:picasso2-okhttp3-downloader:1.1.0'
//Support library
implementation "com.android.support:appcompat-v7:${supportLibraryVersion}"
implementation "com.android.support:recyclerview-v7:${supportLibraryVersion}"
implementation "com.android.support:cardview-v7:${supportLibraryVersion}"
implementation "com.android.support:support-v4:${supportLibraryVersion}"
implementation "com.android.support:design:${supportLibraryVersion}"
implementation "com.android.support:customtabs:${supportLibraryVersion}"
implementation "com.android.support:exifinterface:${supportLibraryVersion}"
//Support library
//play services
implementation "com.google.android.gms:play-services-base:${playServicesVersion}"
implementation "com.google.android.gms:play-services-maps:${playServicesVersion}"
implementation "com.google.android.gms:play-services-places:${playServicesVersion}"
implementation "com.google.android.gms:play-services-location:${playServicesVersion}"
implementation "com.google.android.gms:play-services-plus:${playServicesVersion}"
implementation "com.google.android.gms:play-services-auth:16.0.1"
implementation "com.google.android.gms:play-services-analytics:16.0.5"
//play services
implementation 'com.android.volley:volley:1.1.1'
implementation 'com.flurry.android:analytics:7.0.0'
implementation 'com.github.clans:fab:1.6.4'
implementation 'com.github.PhilJay:MPAndroidChart:v3.0.0-beta1'
//firebase
implementation "com.google.firebase:firebase-messaging:17.3.4"
implementation "com.google.firebase:firebase-core:16.0.4"
implementation "com.google.firebase:firebase-analytics:16.0.5"
implementation "com.google.firebase:firebase-appindexing:16.0.2"
implementation "com.google.firebase:firebase-ads:17.1.0"
//firebase
implementation 'com.squareup.okhttp3:okhttp:3.10.0'
implementation 'com.squareup.okhttp:okhttp-urlconnection:2.7.5'
implementation 'com.clevertap.android:clevertap-android-sdk:3.1.4'
implementation 'com.ncapdevi:frag-nav:2.4.0'
implementation 'com.android.support.constraint:constraint-layout:1.1.3'
implementation 'joda-time:joda-time:2.9.9'
implementation 'com.evernote:android-job:1.1.11'
implementation 'com.rengwuxian.materialedittext:library:2.1.4'
implementation 'com.toptoche.searchablespinner:searchablespinnerlibrary:1.3.1'
implementation 'com.bigbangbutton:editcodeview:1.0.5'
implementation 'com.facebook.android:facebook-login:4.30.0'
implementation 'com.github.chrisbanes:PhotoView:2.1.3'
implementation 'com.koushikdutta.async:androidasync:2.+'
implementation 'org.java-websocket:Java-WebSocket:1.3.7'
implementation 'com.michaelpardo:activeandroid:3.1.0-SNAPSHOT'
implementation 'com.google.code.gson:gson:2.8.2'
}
I am getting following error message while making build
Please fix the version conflict either by updating the version of the google-services plugin (information about the latest version is available at https://bintray.com/android/android-tools/com.google.gms.google-services/) or updating the version of com.google.android.gms to 16.0.0.
Tried running following command to see dependency tree
gradle dependencies --configuration compile
Following is output of command
--- com.google.firebase:firebase-core:16.0.0
+--- com.google.firebase:firebase-analytics:16.0.0
| +--- com.google.android.gms:play-services-basement:15.0.1
| | --- com.android.support:support-v4:26.1.0
| | +--- com.android.support:support-compat:26.1.0
| | | +--- com.android.support:support-annotations:26.1.0
| | | --- android.arch.lifecycle:runtime:1.0.0
| | | +--- android.arch.lifecycle:common:1.0.0
| | | --- android.arch.core:common:1.0.0
| | +--- com.android.support:support-media-compat:26.1.0
| | | +--- com.android.support:support-annotations:26.1.0
| | | --- com.android.support:support-compat:26.1.0 (*)
| | +--- com.android.support:support-core-utils:26.1.0
| | | +--- com.android.support:support-annotations:26.1.0
| | | --- com.android.support:support-compat:26.1.0 (*)
| | +--- com.android.support:support-core-ui:26.1.0
| | | +--- com.android.support:support-annotations:26.1.0
| | | --- com.android.support:support-compat:26.1.0 (*)
| | --- com.android.support:support-fragment:26.1.0
| | +--- com.android.support:support-compat:26.1.0 (*)
| | +--- com.android.support:support-core-ui:26.1.0 (*)
| | --- com.android.support:support-core-utils:26.1.0 (*)
| +--- com.google.android.gms:play-services-measurement-base:[15.0.4] -> 15.0.4
| +--- com.google.android.gms:play-services-stats:15.0.1
| | --- com.google.android.gms:play-services-basement:[15.0.1] -> 15.0.1 (*)
| +--- com.google.firebase:firebase-analytics-impl:[16.0.0] -> 16.0.0
| | +--- com.google.android.gms:play-services-ads-identifier:15.0.1
| | | --- com.google.android.gms:play-services-basement:[15.0.1,16.0.0) -> 15.0.1 (*)
| | +--- com.google.android.gms:play-services-basement:15.0.1 (*)
| | +--- com.google.android.gms:play-services-measurement-base:[15.0.4] -> 15.0.4
| | +--- com.google.android.gms:play-services-stats:15.0.1 (*)
| | +--- com.google.android.gms:play-services-tasks:15.0.1
| | | --- com.google.android.gms:play-services-basement:[15.0.1] -> 15.0.1 (*)
| | +--- com.google.firebase:firebase-common:16.0.0
| | | +--- com.google.android.gms:play-services-basement:15.0.1 (*)
| | | --- com.google.android.gms:play-services-tasks:15.0.1 (*)
| | --- com.google.firebase:firebase-iid:16.0.0
| | +--- com.google.android.gms:play-services-basement:15.0.1 (*)
| | +--- com.google.android.gms:play-services-stats:15.0.1 (*)
| | +--- com.google.android.gms:play-services-tasks:15.0.1 (*)
| | +--- com.google.firebase:firebase-common:16.0.0 (*)
| | --- com.google.firebase:firebase-iid-interop:16.0.0
| | +--- com.google.android.gms:play-services-base:15.0.1
| | | +--- com.google.android.gms:play-services-basement:[15.0.1] -> 15.0.1 (*)
| | | --- com.google.android.gms:play-services-tasks:[15.0.1] -> 15.0.1 (*)
| | --- com.google.android.gms:play-services-basement:15.0.1 (*)
| --- com.google.firebase:firebase-common:16.0.0 (*)
--- com.google.firebase:firebase-measurement-connector-impl:16.0.0
+--- com.google.android.gms:play-services-basement:15.0.1 (*)
+--- com.google.android.gms:play-services-measurement-base:[15.0.4] -> 15.0.4
+--- com.google.firebase:firebase-analytics:[16.0.0] -> 16.0.0 (*)
+--- com.google.firebase:firebase-analytics-impl:[16.0.0] -> 16.0.0 (*)
+--- com.google.firebase:firebase-common:16.0.0 (*)
--- com.google.firebase:firebase-measurement-connector:16.0.0
--- com.google.android.gms:play-services-basement:15.0.1 (*)
(*) - dependencies omitted (listed previously)
Not getting where exactly conflict is and how to solve it?
solved this by updating main gradle file as below
buildscript {
repositories {
jcenter()
google()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.2.1'
classpath 'com.google.gms:google-services:4.0.2'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
jcenter()
maven { url "https://jitpack.io" }
maven {
url "http://dl.bintray.com/piasy/maven"
}
maven { url "https://oss.sonatype.org/content/repositories/snapshots/" }
google()
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
Now getting following issue
error: duplicate value for resource 'attr/fontStyle' with config ''.
appbuildintermediatesincrementalmergeDebugResourcesmerged.dirvaluesvalues.xml:1421: error: resource previously defined here.
android firebase gradle android-gradle google-play-services
android firebase gradle android-gradle google-play-services
edited Nov 13 '18 at 11:41
amodkanthe
asked Nov 13 '18 at 9:51
amodkantheamodkanthe
1,93431642
1,93431642
I tried to resolve this issue to... 3 days no answers
– Vadim Eksler
Nov 13 '18 at 9:53
What is you com.google.gms:google-services version in app (project level) build.gradle?
– Vadim Eksler
Nov 13 '18 at 9:55
You provided libraries list from dependencies. But what's the version of the google-services plugin?
– naXa
Nov 13 '18 at 9:55
using 16.0.0 version
– amodkanthe
Nov 13 '18 at 10:14
add a comment |
I tried to resolve this issue to... 3 days no answers
– Vadim Eksler
Nov 13 '18 at 9:53
What is you com.google.gms:google-services version in app (project level) build.gradle?
– Vadim Eksler
Nov 13 '18 at 9:55
You provided libraries list from dependencies. But what's the version of the google-services plugin?
– naXa
Nov 13 '18 at 9:55
using 16.0.0 version
– amodkanthe
Nov 13 '18 at 10:14
I tried to resolve this issue to... 3 days no answers
– Vadim Eksler
Nov 13 '18 at 9:53
I tried to resolve this issue to... 3 days no answers
– Vadim Eksler
Nov 13 '18 at 9:53
What is you com.google.gms:google-services version in app (project level) build.gradle?
– Vadim Eksler
Nov 13 '18 at 9:55
What is you com.google.gms:google-services version in app (project level) build.gradle?
– Vadim Eksler
Nov 13 '18 at 9:55
You provided libraries list from dependencies. But what's the version of the google-services plugin?
– naXa
Nov 13 '18 at 9:55
You provided libraries list from dependencies. But what's the version of the google-services plugin?
– naXa
Nov 13 '18 at 9:55
using 16.0.0 version
– amodkanthe
Nov 13 '18 at 10:14
using 16.0.0 version
– amodkanthe
Nov 13 '18 at 10:14
add a comment |
2 Answers
2
active
oldest
votes
looks like
com.google.firebase:firebase-analytics
Using com.google.android.gms:play-services-tasks:15.0.1
Please update firebase. Try use
com.google.firebase:firebase-analytics:+
The next step is force configuration:
android{
configurations.all {
resolutionStrategy.force "com.google.android.gms:play-services-tasks:${playServicesVersion}"
}
}
Please check your build gradle version and update com.android.tools.build:gradle
getting error Could not find dependency "com.google.android.gms:play-services-tasks:16.0.0"
– amodkanthe
Nov 13 '18 at 10:19
check stackoverflow.com/questions/50940565/…
– mariopce
Nov 13 '18 at 10:21
getting error merged.dirvaluesvalues.xml:621: error: duplicate value for resource 'attr/fontStyle' with config ''.
– amodkanthe
Nov 13 '18 at 10:46
update android build tools to 28.0.3 and android compile version to 28
– mariopce
Nov 13 '18 at 10:56
still getting issue
– amodkanthe
Nov 13 '18 at 11:33
add a comment |
updated main gradle file solved this conflict updated com.android.tools.build:gradle and
com.google.gms:google-services versions
buildscript {
repositories {
jcenter()
google()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.2.1'
classpath 'com.google.gms:google-services:4.0.2'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
jcenter()
maven { url "https://jitpack.io" }
maven {
url "http://dl.bintray.com/piasy/maven"
}
maven { url "https://oss.sonatype.org/content/repositories/snapshots/" }
google()
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
add a comment |
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',
autoActivateHeartbeat: false,
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
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53278205%2fandroid-gradle-dependencies-conflicts-and-duplicate-value-for-resource%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
looks like
com.google.firebase:firebase-analytics
Using com.google.android.gms:play-services-tasks:15.0.1
Please update firebase. Try use
com.google.firebase:firebase-analytics:+
The next step is force configuration:
android{
configurations.all {
resolutionStrategy.force "com.google.android.gms:play-services-tasks:${playServicesVersion}"
}
}
Please check your build gradle version and update com.android.tools.build:gradle
getting error Could not find dependency "com.google.android.gms:play-services-tasks:16.0.0"
– amodkanthe
Nov 13 '18 at 10:19
check stackoverflow.com/questions/50940565/…
– mariopce
Nov 13 '18 at 10:21
getting error merged.dirvaluesvalues.xml:621: error: duplicate value for resource 'attr/fontStyle' with config ''.
– amodkanthe
Nov 13 '18 at 10:46
update android build tools to 28.0.3 and android compile version to 28
– mariopce
Nov 13 '18 at 10:56
still getting issue
– amodkanthe
Nov 13 '18 at 11:33
add a comment |
looks like
com.google.firebase:firebase-analytics
Using com.google.android.gms:play-services-tasks:15.0.1
Please update firebase. Try use
com.google.firebase:firebase-analytics:+
The next step is force configuration:
android{
configurations.all {
resolutionStrategy.force "com.google.android.gms:play-services-tasks:${playServicesVersion}"
}
}
Please check your build gradle version and update com.android.tools.build:gradle
getting error Could not find dependency "com.google.android.gms:play-services-tasks:16.0.0"
– amodkanthe
Nov 13 '18 at 10:19
check stackoverflow.com/questions/50940565/…
– mariopce
Nov 13 '18 at 10:21
getting error merged.dirvaluesvalues.xml:621: error: duplicate value for resource 'attr/fontStyle' with config ''.
– amodkanthe
Nov 13 '18 at 10:46
update android build tools to 28.0.3 and android compile version to 28
– mariopce
Nov 13 '18 at 10:56
still getting issue
– amodkanthe
Nov 13 '18 at 11:33
add a comment |
looks like
com.google.firebase:firebase-analytics
Using com.google.android.gms:play-services-tasks:15.0.1
Please update firebase. Try use
com.google.firebase:firebase-analytics:+
The next step is force configuration:
android{
configurations.all {
resolutionStrategy.force "com.google.android.gms:play-services-tasks:${playServicesVersion}"
}
}
Please check your build gradle version and update com.android.tools.build:gradle
looks like
com.google.firebase:firebase-analytics
Using com.google.android.gms:play-services-tasks:15.0.1
Please update firebase. Try use
com.google.firebase:firebase-analytics:+
The next step is force configuration:
android{
configurations.all {
resolutionStrategy.force "com.google.android.gms:play-services-tasks:${playServicesVersion}"
}
}
Please check your build gradle version and update com.android.tools.build:gradle
answered Nov 13 '18 at 10:11
mariopcemariopce
855715
855715
getting error Could not find dependency "com.google.android.gms:play-services-tasks:16.0.0"
– amodkanthe
Nov 13 '18 at 10:19
check stackoverflow.com/questions/50940565/…
– mariopce
Nov 13 '18 at 10:21
getting error merged.dirvaluesvalues.xml:621: error: duplicate value for resource 'attr/fontStyle' with config ''.
– amodkanthe
Nov 13 '18 at 10:46
update android build tools to 28.0.3 and android compile version to 28
– mariopce
Nov 13 '18 at 10:56
still getting issue
– amodkanthe
Nov 13 '18 at 11:33
add a comment |
getting error Could not find dependency "com.google.android.gms:play-services-tasks:16.0.0"
– amodkanthe
Nov 13 '18 at 10:19
check stackoverflow.com/questions/50940565/…
– mariopce
Nov 13 '18 at 10:21
getting error merged.dirvaluesvalues.xml:621: error: duplicate value for resource 'attr/fontStyle' with config ''.
– amodkanthe
Nov 13 '18 at 10:46
update android build tools to 28.0.3 and android compile version to 28
– mariopce
Nov 13 '18 at 10:56
still getting issue
– amodkanthe
Nov 13 '18 at 11:33
getting error Could not find dependency "com.google.android.gms:play-services-tasks:16.0.0"
– amodkanthe
Nov 13 '18 at 10:19
getting error Could not find dependency "com.google.android.gms:play-services-tasks:16.0.0"
– amodkanthe
Nov 13 '18 at 10:19
check stackoverflow.com/questions/50940565/…
– mariopce
Nov 13 '18 at 10:21
check stackoverflow.com/questions/50940565/…
– mariopce
Nov 13 '18 at 10:21
getting error merged.dirvaluesvalues.xml:621: error: duplicate value for resource 'attr/fontStyle' with config ''.
– amodkanthe
Nov 13 '18 at 10:46
getting error merged.dirvaluesvalues.xml:621: error: duplicate value for resource 'attr/fontStyle' with config ''.
– amodkanthe
Nov 13 '18 at 10:46
update android build tools to 28.0.3 and android compile version to 28
– mariopce
Nov 13 '18 at 10:56
update android build tools to 28.0.3 and android compile version to 28
– mariopce
Nov 13 '18 at 10:56
still getting issue
– amodkanthe
Nov 13 '18 at 11:33
still getting issue
– amodkanthe
Nov 13 '18 at 11:33
add a comment |
updated main gradle file solved this conflict updated com.android.tools.build:gradle and
com.google.gms:google-services versions
buildscript {
repositories {
jcenter()
google()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.2.1'
classpath 'com.google.gms:google-services:4.0.2'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
jcenter()
maven { url "https://jitpack.io" }
maven {
url "http://dl.bintray.com/piasy/maven"
}
maven { url "https://oss.sonatype.org/content/repositories/snapshots/" }
google()
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
add a comment |
updated main gradle file solved this conflict updated com.android.tools.build:gradle and
com.google.gms:google-services versions
buildscript {
repositories {
jcenter()
google()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.2.1'
classpath 'com.google.gms:google-services:4.0.2'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
jcenter()
maven { url "https://jitpack.io" }
maven {
url "http://dl.bintray.com/piasy/maven"
}
maven { url "https://oss.sonatype.org/content/repositories/snapshots/" }
google()
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
add a comment |
updated main gradle file solved this conflict updated com.android.tools.build:gradle and
com.google.gms:google-services versions
buildscript {
repositories {
jcenter()
google()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.2.1'
classpath 'com.google.gms:google-services:4.0.2'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
jcenter()
maven { url "https://jitpack.io" }
maven {
url "http://dl.bintray.com/piasy/maven"
}
maven { url "https://oss.sonatype.org/content/repositories/snapshots/" }
google()
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
updated main gradle file solved this conflict updated com.android.tools.build:gradle and
com.google.gms:google-services versions
buildscript {
repositories {
jcenter()
google()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.2.1'
classpath 'com.google.gms:google-services:4.0.2'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
jcenter()
maven { url "https://jitpack.io" }
maven {
url "http://dl.bintray.com/piasy/maven"
}
maven { url "https://oss.sonatype.org/content/repositories/snapshots/" }
google()
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
answered Nov 13 '18 at 11:37
amodkantheamodkanthe
1,93431642
1,93431642
add a comment |
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53278205%2fandroid-gradle-dependencies-conflicts-and-duplicate-value-for-resource%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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
I tried to resolve this issue to... 3 days no answers
– Vadim Eksler
Nov 13 '18 at 9:53
What is you com.google.gms:google-services version in app (project level) build.gradle?
– Vadim Eksler
Nov 13 '18 at 9:55
You provided libraries list from dependencies. But what's the version of the google-services plugin?
– naXa
Nov 13 '18 at 9:55
using 16.0.0 version
– amodkanthe
Nov 13 '18 at 10:14