-
Notifications
You must be signed in to change notification settings - Fork 3
Troubleshooting
Antoinegtir edited this page May 20, 2026
·
1 revision
Symptoms: Box-drawing characters display as ? or â"€, colours bleed, layout is wrong.
Fixes:
- Make sure your terminal supports UTF-8 and 256 colours. Most modern terminals do.
- Set
TERM=xterm-256colorif not already set. - Press
Ctrl-Linside the TUI to force a full redraw. - If using tmux, add
set -g default-terminal "screen-256color"to~/.tmux.conf. - On Windows, use Windows Terminal (not legacy
cmd.exe).
Symptoms: flutter-cli run shows "No devices found" or a device you can see with flutter devices is missing.
Fixes:
- Run
flutter devicesto confirm Flutter itself sees the device. - For Android: ensure
adbis on yourPATHand USB debugging is enabled on the device. - For iOS: make sure
ios-deployis installed (brew install ios-deploy) and the device is trusted. - Restart
adb server:adb kill-server && adb start-server. - Unplug and replug the cable.
Symptoms: Pressing r prints "Reloading…" but the device doesn't update.
Fixes:
- Hot reload only works in debug mode. If you started with
--profileor--release, pressRfor a full restart instead. - If the change involves
main(),initState(), or native code, a hot restart (R) is required. - If the app has crashed, hot reload is unavailable — press
Rto restart.
Fixes:
- If installed via
npm install -g, ensure your npm global bin directory is onPATH:npm bin -g # print the directory - If installed via the curl script, ensure
~/.local/binis onPATH. - Re-run
flutter-cli shim installto refresh the shim'sPATHentry.
This should not happen — the shim only intercepts flutter run. If you're seeing unexpected interception:
- Run
flutter-cli shim uninstallthenflutter-cli shim installto reinstall cleanly. - Check that no old
flutteralias is set in your shell profile:alias flutter.
Use --no-tui flag or pipe to a non-interactive pseudo-terminal. flutter-cli auto-detects CI=true and disables the TUI renderer.
flutter-cli redraws at 60 fps by default. Lower it with --fps 30 or --fps 10 if needed.
- Search existing issues.
- Open a new issue with: OS, terminal, Flutter version (
flutter --version), and the full error output. - Ask in Discussions.