Fix Flutter Not Detecting Device – Get “flutter run” Working Again in 2025
[!] No devices detected
Run 'flutter doctor' to see all issues.
Why "No Devices Detected" Crushes Developer Dreams
You've built beautiful Flutter code. Everything compiles. You type flutter run with excitement. Then Flutter destroys you: "No supported devices connected".
You check flutter devices — empty. Unplug and replug. Nothing. Restart VS Code. Nothing. Restart computer. Still nothing.
I've been there. Screen-sharing with a client, ready to demo, typed flutter run live — "No devices detected." Five minutes of awkward silence. Client ended call early.
Another time, Samsung phone worked for months. One system update later, Flutter never saw it again. Spent 3 hours before finding Samsung's hidden setting.
Both times: fixed in under 10 minutes with the right steps.
10 Proven Fixes (In Order of Success Rate)
Check Cable & USB Port
Why: 90% of cheap USB cables are charge-only, not data transfer.
60-Second Test:
- Use original cable from phone box
- Try every USB port — especially USB 2.0 (not blue USB 3.0)
- Clean phone port with wooden toothpick
- Test cable: Plug phone → can you see phone storage in File Explorer/Finder?
Enable USB Debugging (Android)
Enable Developer Options:
- Phone Settings → About phone
- Tap Build number 7 times
- See "You are now a developer!"
Enable USB Debugging:
- Settings → System → Developer options
- Toggle ON "USB debugging"
- Connect phone → accept popup "Allow USB debugging?"
- Check "Always allow from this computer"
If Already Enabled - Revoke & Re-allow:
- Developer options → Revoke USB debugging authorizations
- Unplug → replug → accept new authorization
adb devices
Should show your device with "device" status (not "unauthorized").
Restart ADB Server (Magic Fix)
Why: ADB (Android Debug Bridge) crashes silently.
adb start-server
flutter devices
Wait 5 seconds, then check flutter devices — device should appear.
Create Handy Alias (Optional):
Add to ~/.bashrc or ~/.zshrc:
Now just type fr to restart ADB and run app!
Run Flutter Doctor
Common Fixes:
1. Android licenses not accepted:
Type y to accept all.
2. Command-line tools missing:
- Android Studio → SDK Manager → SDK Tools
- Check "Android SDK Command-line Tools (latest)"
- Apply
Install USB Drivers (Windows)
Option A: Brand-Specific Drivers
- Samsung: Samsung USB Driver (samsung.com)
- Google Pixel: Google USB Driver (developer.android.com)
- Xiaomi: Search "Xiaomi ADB Drivers"
Option B: Universal Driver
- Download ClockworkMod Universal ADB Driver
- Install → restart computer
- Device Manager should show "Android Composite ADB Interface"
macOS Permissions & Xcode
Allow Accessories:
- System Settings → Privacy & Security
- "Allow accessories to connect" → Always
Install Xcode Tools:
Launch iOS Simulator:
flutter devices
Wireless Debugging (No Cable)
Setup Once (Android 11+):
- Connect phone via USB once
- Enable "Wireless debugging" in Developer options
- Get phone IP: Settings → About → Status → IP address
- Run on computer:
adb connect YOUR_PHONE_IP:5555
- Unplug USB
flutter devicesshows phone wirelessly!
Reconnect after reboot: adb connect IP:5555
Restart Everything
- Close VS Code / Android Studio
- Unplug phone
- Restart computer
- Restart phone
- Connect →
adb devices
Flutter Clean
flutter pub get
cd android && ./gradlew clean && cd ..
flutter doctor
flutter devices
Check Firewall/Antivirus
Temporarily disable Windows Defender or antivirus → test flutter devices.
If it works, add adb.exe to firewall exceptions instead of permanently disabling.
Brand-Specific Fixes (2026)
Quick FAQs
Q: flutter devices empty but adb devices shows phone?
A: Run flutter devices --no-cache to force re-detection.
Q: Works on one computer but not another?
A: Different USB ports or missing drivers (Windows). Use same cable on both.
Q: iOS simulator not showing?
A: Run open -a Simulator first, then flutter devices.
Q: "Unauthorized device" in adb?
A: Revoke USB debugging authorizations → replug → accept new authorization.
Q: Can I use Wi-Fi debugging permanently?
A: Yes! Once set up, works exactly like USB. Just reconnect after reboot with adb connect IP:5555.
Conclusion
"No devices detected" is defeated.
Start with Fix #3 (restart ADB) — solves 25% in 10 seconds.
Then check USB debugging (Fix #2) and cable quality (Fix #1). These three resolve 75% of all issues.
- Run
adb kill-server && adb start-server && flutter devices - Check USB debugging enabled + cable quality
- Install drivers (Windows) or check macOS permissions
- Set up wireless debugging for permanent solution
Go open terminal → flutter devices → your device will appear → flutter run will launch your beautiful app!

One Response