[英]Flutter: My Android Emulator won't connect to firebase services
I have a problem with my app recently.我的应用程序最近有问题。 I'm running my app on windows in a android emulator: SDK API 33. Everything was working fine until yesterday.
我在 windows 上的 android 模拟器中运行我的应用程序:SDK API 33。直到昨天一切正常。 When i was in my HomeScreen my Firebase Firestore widgets weren't loading anymore, so i was wiping the data from my emulator.
当我在主屏幕时,我的 Firebase Firestore 小部件不再加载,所以我正在从我的模拟器中擦除数据。 Now i'm stuck at my Auth-Screen;
现在我被困在我的授权屏幕上; when i want to login with my account i'm only getting this debug message when I'm pressing the login button:
当我想用我的帐户登录时,我只会在按下登录按钮时收到此调试消息:
[ +873 ms] W/System( 7190): Ignoring header X-Firebase-Locale because its value was null.
When i'm rebuilding the app i'm getting the message:当我重建应用程序时,我收到消息:
W/FIAM.Headless( 7190): Service fetch error: DEADLINE_EXCEEDED: deadline exceeded after 29.807599400s.
The message "Ignoring header X-Firebase-Locale because its value was null."消息“忽略标题 X-Firebase-Locale 因为它的值为空。” is just a warning and does not indicate a problem with your app or Firebase services.
只是一个警告,并不表示您的应用或 Firebase 服务有问题。
Usual cause of this issue are Email/Password Sign-in method being disabled in the Firebase console and the Android emulator not being set up properly.此问题的常见原因是电子邮件/密码登录方法在 Firebase 控制台中被禁用,并且 Android 模拟器未正确设置。
check these similar cases for more information:查看这些类似案例以获取更多信息:
Also try flutter clean
command to delete any temporary files that may be causing problems.也可以尝试使用
flutter clean
命令删除任何可能导致问题的临时文件。 Then, rebuild and run your app.If you are still facing the issue, I have found this issue tracker raised for a similar issue which is still open.然后,重建并运行你的应用程序。如果你仍然面临这个问题,我发现这个问题跟踪器是针对一个仍然开放的类似问题提出的。 you can report there or you can raise new raise issue at github .
你可以在那里报告或者你可以在github上提出新的 raise 问题。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.