我想在我的设备上测试实时应用程序,就像我可以在我的设备上进行更改和查看一样,但是当我通过 android studio 绿色运行按钮运行应用程序时,它只显示白屏并显示此消息
Still attempting to connect to the VM Service...
If you do NOT see the Flutter application running, it might have crashed. The device logs (e.g. from adb or XCode) might have more details.
If you do see the Flutter application running on the device, try re-running with --host-vmservice-port to use a specific port known to be available.
Exception attempting to connect to the VM Service: SocketException: OS Error: Connection refused, errno = 61, address = 127.0.0.1, port = 53666
This was attempt #50. Will retry in 0:00:01.600000.
如果我在 Xcode 上打开项目并在设备上从那里运行,那么它可以完美运行,但我无法从那里看到实时更改。我需要从 android studio 运行,以便我可以对其进行测试,看看有没有人帮忙解决这个问题,或者是什么问题?
而且应用程序没有任何 firebase 或 firestore 插件