since I\'ve updated to Android Studio 3.1, my project is not running anymore. I have searched for a solution all over the internet with no positive results. Here\'s the erro
implementation 'com.google.android.gms:play-services-maps:15.0.0'
implementation 'com.google.android.gms:play-services-auth:15.0.0'
implementation 'com.google.android.gms:play-services-location:15.0.0'
implementation 'com.google.android.gms:play-services:15.0.0'
implementation 'com.google.android.gms:play-services-ads:15.0.0'
This helped me.
@cubycode I am also running into the same issue and I tried all solutions listed here.
That worked for me I added subprojects block as below to my project gradle file
allprojects {
repositories {
//...
}
subprojects {
project.configurations.all {
resolutionStrategy.eachDependency { details ->
if (details.requested.group == 'com.google.android.gms'
&& !details.requested.name.contains('multidex') ) {
details.useVersion "+"
}
if (details.requested.group == 'com.google.firebase'
&& !details.requested.name.contains('multidex') ) {
details.useVersion "+"
}
}
}
}
}
You may be using different verions of libraries.
Important point is you may be using an external library which is using a different play services version (may be older) . Please check care fully all external libraries updates and match them all