- Windows 10 or 11 with WSL2 enabled
- A WSL distribution installed (Ubuntu 24.04 recommended)
- Flutter SDK installed inside WSL (via vfox or FVM)
- Android Studio with Flutter plugin
git clone https://github.com/<user>/FlutterWrapper.git %USERPROFILE%\FlutterWrapper
cd %USERPROFILE%\FlutterWrapper
powershell -NoProfile -ExecutionPolicy Bypass -File install.ps1 -AutoThe installer auto-detects:
- WSL distro (auto-selects Ubuntu-24.04, or first available)
- Flutter SDK path (checks
command -v flutter→ vfox → FVM → manual) - Dart SDK path (derived from Flutter)
- JDK path (vfox → JAVA_HOME → PATH)
- Android SDK path
- Maps W: drive to WSL filesystem
fw doctorShould show all ✓. If any ✗, run:
fw doctor --fix-safe # auto-repair safe items
# or
fw repair <module> # repair specific component- Open Android Studio
- File → Settings → Languages & Frameworks → Flutter
- Flutter SDK path:
%USERPROFILE%\FlutterWrapper
- Flutter SDK path:
- File → Settings → Languages & Frameworks → Dart
- Dart SDK path:
%USERPROFILE%\FlutterWrapper\bin\cache\dart-sdk
- Dart SDK path:
- Restart Android Studio
Critical: Open projects via the mapped drive letter, NOT UNC path.
✅ Correct: W:\home\<user>\projects\my_app
❌ Wrong: \\wsl.localhost\Ubuntu-24.04\home\<user>\projects\my_app
The installer creates net use W: \\wsl.localhost\<distro>. If it's lost after reboot, re-run:
net use W: \\wsl.localhost\<your-distro> /persistent:yesAll Flutter operations (pub get, run, hot reload, debug, build) now work through WSL.
# In terminal:
fw status
fw flutter current
# Or use flutter.bat directly:
%USERPROFILE%\FlutterWrapper\bin\flutter.bat devices
%USERPROFILE%\FlutterWrapper\bin\flutter.bat run