【发布时间】:2021-01-02 11:32:03
【问题描述】:
我尝试(第一次)使用 Firebase 并跟随讲师。 经过所有阶段后,我不得不同步 Gradle,但它失败了。
我试过重启,还是不行。
当我删除插件时:apply plugin: 'com.google.gms.google-services'
它正在工作,但我需要它(当然)。
错误:
org.codehaus.groovy.ast.expr.TupleExpression cannot be cast to org.codehaus.groovy.ast.expr.ArgumentListExpression
org.codehaus.groovy.ast.expr.TupleExpression cannot be cast to org.codehaus.groovy.ast.expr.ArgumentListExpression
Gradle's dependency cache may be corrupt (this sometimes occurs after a network connection timeout.)
Re-download dependencies and sync project (requires network)
The state of a Gradle build process (daemon) may be corrupt. Stopping all Gradle daemons may solve this problem.
Stop Gradle build processes (requires restart)
Your project may be using a third-party plugin which is not compatible with the other plugins in the project or the version of Gradle requested by the project.
In the case of corrupt Gradle processes, you can also try closing the IDE and then killing all Java processes.
非常感谢。
【问题讨论】:
标签: java android firebase gradle groovy