我一直在寻找答案太久了。我正在尝试使用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.
因此,您可以假设我的代码与她相同。
谢谢。
您遇到此错误的最可能原因是因为您的仿真器未安装Google Play服务,
因此,请尝试检查avd管理器,看看您正在运行的模拟器是否已安装Play Store Services。
您可以通过如下所示的图标进行检查:
如果现有模拟器上未安装Play Store服务,则创建一个具有Play Store Services的新设备。