[英]Why am I getting this error in build.gradle in my Flutter Project in Android Studio?
I have added the Project-level build.gradle dependencies and also App-level build.gradle dependencies in my Flutter Project inorder to connect to Firebase.我在我的 Flutter 项目中添加了项目级 build.gradle 依赖项和应用级 build.gradle 依赖项,以便连接到 Z035AF4939FF8D32424A. But then, I see errors and I don't see any Firebase connection messages while running.
但是,我看到错误,并且在运行时没有看到任何 Firebase 连接消息。 Where did it go wrong?
go 哪里错了? What have I done?
我做了什么? Please check the screenshot.
请检查屏幕截图。
The highlight error on the build.grade can be ignored since you are not running it as an android project. build.grade 上的高亮错误可以忽略,因为您没有将它作为 android 项目运行。
What you need to pay attention to is any errors, if any, on the Run tab at the bottom of the screen.您需要注意的是屏幕底部“运行”选项卡上的任何错误(如果有)。
Just continue following the process and add the google-services.json file onto your app folder, since I cannot see it on the screenshot, meaning Firebase is still not fully set up.只需继续执行该过程并将google-services.json文件添加到您的应用程序文件夹中,因为我在屏幕截图上看不到它,这意味着 Firebase 仍未完全设置。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.