小编Moh*_*hri的帖子

无法在 org.gradle.api.Project 类型的项目“:app”上找到参数 [] 的方法 Properties()

我在 Android Studio 中更新 Flutter 后出现此错误,请帮助,我厌倦了升级和降级 Firebase Auth 依赖项 flutter doctor 命令显示没有错误,我也尝试更改类路径但没有成功,但是当我构建时,我总是收到此错误

FAILURE: Build failed with an exception.
[   +2 ms] * Where:
[        ] Build file 'C:\Users\Corsair\Desktop\Flutter_1_2\outdoor_1_2\android\app\build.gradle' line: 2
[        ] * What went wrong:
[        ] A problem occurred evaluating project ':app'.
[        ] > Could not find method Properties() for arguments [] on project ':app' of type org.gradle.api.Project.
[        ] * Try:
[        ] Run with --stacktrace option to get the stack trace. Run with --info or …
Run Code Online (Sandbox Code Playgroud)

dart firebase build.gradle firebase-authentication flutter

1
推荐指数
1
解决办法
4559
查看次数