Getting Started with Flutter without Android Studio in Windows 10
2 min readMar 9, 2021
Lets start with some basic definition of Flutter.
- Mobile UI framework for creating native apps for iOS & Android
- Single code-base (dart), only need to write app once for multiple devices
- Great layout methodology borrowed from responsive web & uses Material Design out of the box.
- Great docs & guides on the Flutter website
Installing Flutter In Windows (But without android studio)
- Install VS code, because we need a code editor for development
Make sure you have git as we will be using git for downloading the flutter sdk,
Link Flutter SDK clone the sdk from GitHub (do not clone in directory that needs elevated privileges like C:\Program Files\
Update your path in env src\flutter\bin
Run flutter doctor
- Surely your going to run into some error as flutter needs Android tool chains, so
Install java and addJAVA_HOME
to your env path.
Install Android SDK for windows from Link and create folders (android\cmdline-tools\latest
) and add path to android folder as ANDROID_SDK_ROOT, then extract the android sdk contents inside latest folder and add path upto bin in env path as well.
- Run flutter doctor again, you will see a error saying Android sdk not found still, now run
sdkmanager.bat “platforms;android-29” “platform-tools” “build-tools;28.0.3”
. Now run Flutter doctor, you should see something like below
Happy Coding.. ✨