I've been dealing with a persistent Flutter Inspector issue in Android Studio for 2-3 years. It works fine on an iOS simulator, but switching to an Android emulator breaks it inside AS, forcing me to open it in a web browser. The issue also happens in reverse—starting with an Android emulator and switching to iOS causes the Inspector to stop working for both.
I've kept everything updated (Android Studio, Flutter, Dart) and tried clearing caches, restarting AS, and reopening emulators. The only fix that sometimes works is rebooting the computer, but I need an easier way to recover the Inspector without restarting.
This happens on multiple macOS machines. Any suggestions?