On macOS Big Sur (Macbook Air with M1 chipset), I installed Android Studio and the Flutter and Dart plugins.
I created a brand new Flutter project with nothing in it, and just launched it on an iPhone emulator. It works fine, but I have the following log that appears multiple times per second:
[VERBOSE-2:profiler_metrics_ios_mm(184)] Error retrieving thread information: (ipc/send) invalid destination port
It looks like it's a known bug, but I can't find any fix for that.
Does anyone knows how to get rid of that log?
Thanks.
This issue is related to the new MacBook with M1 processor with flutter 1 just try to run the app with this command will help running the app in Flutter #1
flutter run | grep -v "Error retrieving thread information"
or you can use the command below to upgrade to Flutter #2 and fix the problem
flutter upgrade
Updating to Flutter 2 by doing flutter upgrade
solved the problem.
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