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

♀尐吖头ヾ 提交于 2019-11-30 17:27:41

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

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'
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!