Flutter Bootstrap (With Android Emulation)
Source: https://docs.flutter.dev/get-started/install/windows/mobile
Download and install the Windows version of the following packages:
- Git for Windows 2.27 or later to manage source code.
- Android Studio 2023.2.1 (Iguana) or later to debug and compile Java or Kotlin code for Android. Flutter requires the full version of Android Studio.
Configure a text editor or IDE.
- Visual Studio Code 1.77 or later with the Flutter extension for VS Code.
Install the Flutter SDK in VS Code
To install Flutter using these instructions, verify that you have installed Visual Studio Code 1.77 or later and the Flutter extension for VS Code.
-
Launch VS Code.
-
To open the Command Palette, press
Control
+Shift
+P
. -
In the Command Palette, type
flutter
. -
Select Flutter: New Project.
-
VS Code prompts you to locate the Flutter SDK on your computer.
-
If you have the Flutter SDK installed, click Locate SDK.
-
If you do not have the Flutter SDK installed, click Download SDK.
This option sends you the Flutter install page if you have not installed Git for Windows as directed in the development tools prerequisites.
-
Choose
C:\dev
for your flutter install path
-
-
When prompted Which Flutter template?, ignore it. Press Esc. You can create a test project after checking your development setup.
You will get a notification in VS Code (Bottom right). Choose the option to add flutter to your system's path.
Download and Configure Android Studio
https://developer.android.com/studio
https://docs.flutter.dev/get-started/install/windows/mobile#set-up-the-android-emulator
Enable Android SDK Command-line Tools. Go to Android Studio:
Projects > More Actions > SDK Manager > SDK Tools tab > Enable Android SDK Command-line Tools (latest) > OK
Back to your flutter project, in the console. flutter doctor --android-licenses
Agree to all (y
, enter
)
Verify installation. RunĀ flutter doctor
in the console. Mostly everything should be checked green.
End of Flutter Bootstrap (With Android Emulation)
No Comments