-
-
Notifications
You must be signed in to change notification settings - Fork 153
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conflict with Android dependency 'com.google.android.gms:play-services-measurement-base' #3
Comments
Please note, I am not using firebase_admob, but the other firebase plugins.. |
Hi @Purus! I think this is a know issue and Google has some words about it here in their release notes: https://developers.google.com/android/guides/releases#november_13_2018 I know only a little about Gradle and Android dependency management. Can you try forcing version for that dependency to |
@Purus — I'm using this plugin as well and ran into similar problems. What worked for me was updating all the firebase dependencies in my app level build.gradle to their latest and then adding all the Kotlin dependencies that were not in my project for BOTH the build.gradle and app level build.gradle Add lines 2 and 10 from: https://github.com/YoussefKababe/admob_flutter/blob/master/example/android/build.gradle#L2 Also using gradle 4.6 for the distributionUrl in gradle-wrapper.properties (not sure if this one matters) |
@gctommy Can you share me how you updated all firebase dependencies in the app level build.gradle file? I am new to Android.. |
Try but still error then i add this on android/build.grade, its working |
I reverted back all the changes mentioned by @gctommy and added the code mentioned by @apitutinteractive . And voila.. it's now working. Thanks all for the work solution. Great guys.. |
Using this plugin along with the latest version of Firebase, gives the below issue while building. I guess this is due to the version conflicts of the dependency.
The text was updated successfully, but these errors were encountered: