Google在Android Studio上使用Flutter登录

我一直在寻找答案太久了。我正在尝试使用flutter和firebase实现google登录方法,以便以后可以通过google API访问我的google议程。我收到以下错误:E / FirebaseInstanceId(6925):Google Play服务丢失或没有正确的权限。

Even with the code of this video : https://www.youtube.com/watch?v=NaFI6bVI_NY&t=239s I get the error.

因此,您可以假设我的代码与她相同。

谢谢。