失败:构建失败,并出现异常。
出了什么问题:
任务':firebase_messaging:processDebugGoogleServices'
的执行失败
文件google-services.json丢失。没有它,Google Services插件将无法运行。 搜索位置: /Users/macbookair/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_messaging-5.1.6/android/src/nullnull/google-services.json /Users/macbookair/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_messaging-5.1.6/android/src/debug/google-services.json /Users/macbookair/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_messaging-5.1.6/android/src/nullnullDebug/google-services.json /Users/macbookair/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_messaging-5.1.6/android/src/nullnull/debug/google-services.json /Users/macbookair/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_messaging-5.1.6/android/src/debug/nullnull/google-services.json /Users/macbookair/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_messaging-5.1.6/android/google-services.json
尝试:
使用--stacktrace选项运行以获取堆栈跟踪。使用--info
或--debug
选项运行以获取更多日志输出。与--scan
一起运行以获取完整的见解。
23sGradle任务assembleDebug
中的构建失败,退出代码为1