Android: Conflict with com.squareup:javawriter -


hello , thank trying

i have implemented firebase notifications , today wanted learn how add google maps application.

after creating api key , adding

compile 'com.google.gms:google-services:2.1.2' compile 'com.google.android.gms:play-services-maps:10.2.1' 

in build.gradle file

when build application following errors

error:conflict dependency 'com.squareup:javawriter' in project ':app'. resolved versions app (2.5.0) , test app (2.1.1) differ. see http://g.co/androidstudio/app-test-app-conflict details.

there conflict `compile 'com.android.support:appcompat-v7:25.3.0'

my full gradle file follows

 apply plugin: 'com.android.application'  android {     compilesdkversion 25     buildtoolsversion "25.0.2"     defaultconfig {         applicationid "com.example.alanauckland.yellowjersey"         minsdkversion 16         targetsdkversion 25         versioncode 1         versionname "1.0"         testinstrumentationrunner "android.support.test.runner.androidjunitrunner"     }     buildtypes {         release {             minifyenabled false             proguardfiles getdefaultproguardfile('proguard-android.txt'), 'proguard-rules.pro'         }     } }  dependencies {     compile filetree(dir: 'libs', include: ['*.jar'])     androidtestcompile('com.android.support.test.espresso:espresso-core:2.2.2', {         exclude group: 'com.android.support', module: 'support-annotations'     })     compile 'com.android.support:appcompat-v7:25.3.0'     compile 'com.android.support.constraint:constraint-layout:1.0.2'     compile 'com.google.firebase:firebase-messaging:10.0.1'     compile 'com.firebaseui:firebase-ui-auth:1.2.0'     compile 'com.google.firebase:firebase-auth:10.0.1'     compile 'com.google.gms:google-services:2.1.2'     compile 'com.google.android.gms:play-services-maps:10.2.1'     testcompile 'junit:junit:4.12' }  apply plugin: 'com.google.gms.google-services' 

where begin try resolve this?


Comments

Popular posts from this blog

javascript - Clear button on addentry page doesn't work -

c# - Selenium Authentication Popup preventing driver close or quit -

tensorflow when input_data MNIST_data , zlib.error: Error -3 while decompressing: invalid block type -