Android 3.1.1 - Failed resolution of: Lcom/google/android/gms/common/internal/zzbq;

前端 未结 10 2298
忘掉有多难
忘掉有多难 2020-11-28 15:02

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

10条回答
  •  一个人的身影
    2020-11-28 15:28

    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

提交回复
热议问题