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

前端 未结 10 2296
忘掉有多难
忘掉有多难 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:22

    I had the same issue and I solved it.Update all your com.google.android.gms:play-services dependencies to 15.0.0. It should look like this:

    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'
    

    Once you do that, it should fix the issue with finding the NoClassDefFoundError error (at least it did for me).

提交回复
热议问题