Could not get unknown property 'config' for type com.google.gms.googleservices.GoogleServicesPlugin$GoogleServicesPluginConfig

前端 未结 2 349
梦谈多话
梦谈多话 2021-01-03 20:12

I\'m trying to upgrade my libraries from :

classpath \'com.google.gms:google-services:4.2.0\'

to

classpath          


        
相关标签:
2条回答
  • 2021-01-03 20:38

    I got similar issue and I resolved it by downgrading from 4.3.0 to 4.2.0 and sync the project from Android Studio

    From

    classpath 'com.google.gms:google-services:4.3.0'
    

    To

    classpath 'com.google.gms:google-services:4.2.0'
    
    0 讨论(0)
  • 2021-01-03 20:50

    Updating OneSignal Plugin to 0.12.3 solved the problem for me:

    buildscript {
        //.......
        dependencies {
            classpath 'gradle.plugin.com.onesignal:onesignal-gradle-plugin:0.12.3'
        }
        //....
    }
    

    Check this: https://github.com/OneSignal/OneSignal-Gradle-Plugin/issues/95

    0 讨论(0)
提交回复
热议问题