The library com.google.android.gms:play-services-base is being requested by various other libraries at [[15.0.1,15.0.1]], but resolves to 16.0.1

前端 未结 3 977
感情败类
感情败类 2020-12-11 07:39

I see that this is a common issue apparently, but none of the posted solutions work for me. I have checked and all of my play services and firebase libraries are at the late

3条回答
  •  攒了一身酷
    2020-12-11 08:05

    most likely ...without knowing what might be in the libs directory:

    dependencies {
        implementation "com.google.android.gms:play-services-base:16.0.1"
        implementation (fileTree(dir: "libs", include: ["*.jar"])) {
            exclude group: "com.google.android.gms"
        }
    }
    

    or enforce the version to select:

    configurations.all() {
        resolutionStrategy.force "com.google.android.gms:play-services-base:16.0.1"
    }
    

提交回复
热议问题