【问题标题】:Some problems were found with the configuration of task ':app:processDebugGoogleServices' (type 'GoogleServicesTask')发现任务':app:processDebugGoogleServices'的配置存在一些问题(类型'GoogleServicesTask')
【发布时间】:2021-08-29 02:19:28
【问题描述】:

我是 android studio 的新手,我正在做我的项目,但由于这个错误我被卡住了,无法在任何地方找到解决方案

发现任务':app:processDebugGoogleServices'(类型'GoogleServicesTask')的配置存在一些问题。

  • 类型 'com.google.gms.googleservices.GoogleServicesTask' 字段 'intermediateDir' 没有对应的 getter 已使用 @OutputDirectory 进行注释。

【问题讨论】:

    标签: java android-studio


    【解决方案1】:

    在 build.gradle(app) 中尝试升级依赖项中的 google-services

    'com.google.gms:google-services:4.3.8'

    这里提到的这次升级Firebase

    【讨论】:

    • 谢谢,但 Gradle 为什么不能给出有用的错误!
    猜你喜欢
    • 2022-06-14
    • 2022-10-18
    • 2021-10-12
    • 2021-07-22
    • 2021-01-11
    • 1970-01-01
    • 1970-01-01
    • 2015-10-24
    • 1970-01-01
    相关资源
    最近更新 更多