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
I solved it by removing
implementation "com.google.android.gms:play-services:$play_service_version"
and keeping only important dependencies.
In my case I had
implementation "com.google.android.gms:play-services:$play_service_version"
implementation "com.google.android.gms:play-services-location:$play_service"
And I removed
implementation "com.google.android.gms:play-services:$play_service_version"
and kept
implementation "com.google.android.gms:play-services-location:$play_service"
Here play_service_version & play_service are versions