Android 模拟器您的设备目前没有健康的互联网连接

标签 android flutter firebase emulation

我正在尝试在 Android 模拟器上运行 Flutter,但出现错误。但是 Android 模拟器有互联网连接。

错误:

W/Firestore(12362): This typically indicates that your device does not have a healthy Internet connection at the moment. The client will operate in offline mode until it is able to successfully connect to the backend.**

W/Firestore(12643): (24.2.2) [WatchStream]: (942dfc6) Stream closed with status: Status{code=UNAVAILABLE, description=Channel shutdownNow invoked, cause=null}.
W/DynamiteModule(12643): Local module descriptor class for com.google.android.gms.providerinstaller.dynamite not found.
I/DynamiteModule(12643): Considering local module com.google.android.gms.providerinstaller.dynamite:0 and remote module com.google.android.gms.providerinstaller.dynamite:0
W/ProviderInstaller(12643): Failed to load providerinstaller module: No acceptable module com.google.android.gms.providerinstaller.dynamite found. Local version is 0 and remote version is 0.

我该如何解决这个问题?

最佳答案

我遇到了同样的问题,降级 Android Emulator (31.3.10 —> 30.9.5) 解决了我的问题。

Firebase doesn't work on Android Studio Emulator

关于Android 模拟器您的设备目前没有健康的互联网连接,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/73411086/

相关文章:

android - 设计一个形状像谷歌信息窗口的 View

ios - 在 iOS 上使用 firebase 消息传递 Flutter pod 安装错误

flutter - 不能将 'Color'类型的值分配给 'String'类型的变量

ios - Swift:我应该为 Firebase 管理器类使用静态成员吗​​?好的程序设计

Android 让 Service 与 Activity 进行通信?

android - 截断 Android TextView 的内容以适应宽度

android - 在 Android 中显示表格的最有效方法是什么

dart - Flutter Blue 示例无法通过扫描我的蓝牙 PC、其他 Android 手机和 iOS 找到

javascript - window.location 结果为空

android - 两个 Android 应用程序和一个 Firebase 数据库