Version conflict updating to play-services 9.4.0 Android studio 2.2
You need to put the apply plugin: 'com.google.gms.google-services'
line below your dependencies
block - this allows the plugin to determine what version of Play services you are using.
Error: fix the version conflict (google-services plugin)
I think you change
compile 'com.google.firebase:firebase-messaging:11.0.4'
Version conflict (google-services plugin)
Update the google-service plugin to 'com.google.gms:google-services:3.3.0'
However, its always better to have same version among the same library file to prevent any project sync crash.
Example,
implementation 'com.google.firebase:firebase-messaging:15.0.2'
implementation 'com.google.firebase:firebase-ads:15.0.2'
implementation 'com.google.android.gms:play-services-auth:15.0.2'
implementation 'com.google.android.gms:play-services-plus:15.0.2'
Error to build when update gradle dependency 9.4.0 to 9.6.1
You're mixing different versions of Firebase and Google Play services. Don't.
ext.googlePlayVersion = "9.6.1"
compile "com.google.firebase:firebase-ads:$googlePlayVersion"
compile "com.google.firebase:firebase-database:$googlePlayVersion"
compile "com.google.android.gms:play-services-ads:$googlePlayVersion"
compile "com.google.android.gms:play-services:$googlePlayVersion"
compile "com.google.android.gms:play-services-gcm:$googlePlayVersion"
compile "com.google.android.gms:play-services-analytics:$googlePlayVersion"
compile "com.google.android.gms:play-services-location:$googlePlayVersion"
Note: Double quotes are mandatory otherwise the variable will be taken literally.
Make sure you're using latest Google services plugin, as of September 26 it's 3.0.0
. Check your project build.gradle
.
dependencies {
classpath 'com.google.gms:google-services:3.0.0'
}
Please fix the version conflict either by updating the version of the google-services plugin or updati
compile 'com.google.firebase:firebase-core:9.4.0'
compile 'com.google.firebase:firebase-messaging:9.4.0'
compile 'com.google.android.gms:play-services-auth:10.0.1'
make google services using the same version(all 9.4.0 or all 10.0.1)
Version conflict updating to play-services 9.4.0 Android studio 2.2
You need to put the apply plugin: 'com.google.gms.google-services'
line below your dependencies
block - this allows the plugin to determine what version of Play services you are using.
Google Play Service version conflict for Firebase 11.0.2 libraries
Update your google service plugin to 3.1.0
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.3.3'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
classpath 'com.google.gms:google-services:3.1.0'
}
}
Related Topics
Get the Current Fragment Object
Using Android Vector Drawables on Pre Lollipop Crash
Bitmap Recycle with Largeheap Enabled
Android Hide/Unhide App Icon Programmatically
Marking Sms Messages as Read/Unread or Deleting Messages Not Working in Kitkat
How to Detect the Swipe Left or Right in Android
How to Make Sticky Headers in Recyclerview? (Without External Lib)
Android Lollipop, Appcompat Actionbar Custom View Doesn't Take Up Whole Screen Width
Scale Image to Fill Imageview Width and Keep Aspect Ratio
Android Animation Is Not Finished in Onanimationend
Android Failed to Load Js Bundle
Multiline Edittext with Done Softinput Action Label on 2.3
Recyclerview - How to Smooth Scroll to Top of Item on a Certain Position
Android - Out of Memory Exception When Creating Bitmap
How to Create a Http Server in Android
Error - Android Resource Linking Failed (Aapt2 27.0.3 Daemon #0)