Can't add gms play services 9.0.1, google-services plugin wants 9.0.0

前端 未结 3 1553
梦毁少年i
梦毁少年i 2021-02-18 18:08

I have this in my top-level build.gradle:

buildscript {
    repositories {
        jcenter()
    }
    dependencies {
        classpath \'com.google.gms:google-s         


        
3条回答
  •  离开以前
    2021-02-18 18:46

    Update com.google.firebase:firebase-messaging:9.0.2 and com.google.android.gms:play-services:9.0.2 to same version(latest version) and sync the project. Check if plugin is added on bottom like this.

    dependencies {
    
    
    compile 'com.android.support:appcompat-v7:24.0.0'
    ..................
    
    }
    apply plugin: 'com.google.gms.google-services'
    

提交回复
热议问题