I'm running an android emulator with Flutter in VSCode on Windows. When I run debug the call stack runs 2 main threads. Is this abnormal? I am getting emulator connections dropouts. With other (smaller) Flutter projects it doesn't run any threads.

Are you using any background service that initialize in your main like FirebaseMessagingService? that might be the cause.
An yes that is abnormal, it actually an open issue being discussed here https://github.com/firebase/flutterfire/issues/9964.

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With