Firebase和登录,没有一个教程是最新的,甚至在谷歌上.正确的方法是什么?



我一行一行地关注这个 https://firebase.google.com/docs/android/setup

但是我添加的第二个

classpath 'com.google.gms:google-services:4.3.3'  

我收到错误

ERROR: Plugin with id 'com.android.application' not found.

打开文件

或者如果我添加代码:

classpath 'com.google.gms:google-services:4.3.3'

我收到此错误

错误:找不到 ID 为"com.google.gms.google-services"的插件。 打开文件

如何通过 Firebase 进行简单的登录和注册?我什至无法在谷歌或Youtube上找到一个教程。

在应用程序的应用程序文件夹中打开build.gradle文件,然后在build.gradle文件中添加以下第一行

apply plugin: 'com.android.application'

相关内容

最新更新