Gradle问题运行Gradle时出错:和FAILURE:构建失败,出现异常

时间:2018-10-25 12:21:10

标签: flutter flutter-layout flutter-dependencies flutter-test

我需要帮助来解决 扑朔迷离中的成绩

这是错误

*Error running Gradle:
ProcessException: Process "/Users/abc/Workspace/kale-

flutter/android/gradlew" exited abnormally:
Could not find google-services.json while looking in [src/nullnull/debug, src/debug/nullnull, src/nullnull, src/debug, src/nullnullDebug]
registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection)
Could not find google-services.json while looking in [src/nullnull/dynamicProfile, src/dynamicProfile/nullnull, src/nullnull, src/dynamicProfile, src/nullnullDynamicProfile]
registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection)
Could not find google-services.json while looking in [src/nullnull/release, src/release/nullnull, src/nullnull, src/release, src/nullnullRelease]
registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection)
Could not find google-services.json while looking in [src/nullnull/profile, src/profile/nullnull, src/nullnull, src/profile, src/nullnullProfile]
registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection)
Could not find google-services.json while looking in [src/nullnull/dynamicRelease, src/dynamicRelease/nullnull, src/nullnull, src/dynamicRelease, src/nullnullDynamicRelease]
registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection)


FAILURE: Build failed with an exception.

* Where:
Build file '/Users/abc/Workspace/kale-flutter/android/build.gradle' line: 39

* What went wrong:
A problem occurred evaluating root project 'android'.
> Could not get unknown property 'get' for project ':app' of type org.gradle.api.Project.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 6s
  Command: /Users/abc/Workspace/kale-flutter/android/gradlew app:properties

Finished with error: Please review your Gradle project setup in the android/ folder.

我无法解决此问题。需要有关工作解决方案的专家建议。

提前谢谢!

0 个答案:

没有答案