无法获取类型为 com.google.gms.googleservices.GoogleServicesPlugin$GoogleServicesPluginConfig 的未知属性“config" [英] Could not get unknown property 'config' for type com.google.gms.googleservices.GoogleServicesPlugin$GoogleServicesPluginConfig

查看:23
本文介绍了无法获取类型为 com.google.gms.googleservices.GoogleServicesPlugin$GoogleServicesPluginConfig 的未知属性“config"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试从以下位置升级我的 libraries:

I'm trying to upgrade my libraries from :

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

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

我收到以下错误:

推荐答案

Updating OneSignal Plugin to 0.12.3 为我解决了这个问题:

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'
    }
    //....
}

检查这个:https://github.com/OneSignal/OneSignal-Gradle-插件/问题/95

这篇关于无法获取类型为 com.google.gms.googleservices.GoogleServicesPlugin$GoogleServicesPluginConfig 的未知属性“config"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆