This is my Gradle:app file
Error I get when I try to rebuild: "All gms/firebase libaries must use the exact same version specification. Found versions 11.6.0, 10.2.0. Examples include com.google.android.gms:play-services-auth:11.6.0 and com.google.android.gms:play-services-location:10.2.0"
Anyone know how to get rid of the error?
I also had same error for the dependency version:
I resolved it by adding this missing dependency:
I can see you add
com.google.android.gms:play-services-auth:11.6.0
dependency in your gradle but notcom.google.android.gms:play-services-location
.Try addingcompile "com.google.android.gms:play-services-location:11.6.0"
to your dependencies, sync and rebuild the porject and also clean up the mess with other dependenciesRun
./gradlew app:dependencies
to see what your transitive dependencies are (this will show what lib is depending on10.2.0
for example)