mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
⚠️ This targets branch `flutter-3.29-candidate.0` for the Flutter beta. Cherrypicks https://github.com/flutter/flutter/pull/161846 to `flutter-3.29-candidate.0`. **Impacted Users**: Users that use macOS Sequoia and haven't turned on Local Network permissions for their IDE or terminal app. See: https://github.com/flutter/flutter/issues/150131 **Impact Description**: Without this improved error message, `flutter run` outputs this error: `SocketException: Send failed, OS Error: No route to host, errno = 65`. **Workaround**: Turn on Local Network permissions for your IDE or terminal app. However, it's difficult for customers to discover this from the error message. **Risk**: This change could regress the tool's Dart VM discovery. **Test Coverage**: Yes added tests **Validation Steps**: In System Settings > Privacy & Security > Local Network, toggle off Visual Studio Code. In VS Code, run a Flutter app on a physical device.