Professional Documents
Culture Documents
Installing Flutter in Windows.. Flutter Is Very New, But A Promising - by Ahmed Thaajwer - D6 Digital - Medium
Installing Flutter in Windows.. Flutter Is Very New, But A Promising - by Ahmed Thaajwer - D6 Digital - Medium
Published in D6 Digital
Save
Flutter is very new, but a promising platform, that has attracted the attention of large
companies who’ve released their apps already. It is interesting because of its simplicity
compared to developing web applications, and because of its speed as compared with
native applications.
01. First I am going to list out the requirements for Flutter installation.
186 1
Operating System: Windows 7 or Later version of Windows (64 bit).
Git for Windows 2.x, with the use git from the windows, commands prompt
option.
If Git for Windows is already installed, make sure by running the command git or git
— version command.
Here I mention the latest version of Flutter SDK. Click the Following link to download it
as a zip file.
flutter_windows_v1.5.4-hotfix.2-stable.zip
Create the new folder as flutter into C:\src (C:\src\flutter) and extract the Flutter
SDK zip file in to there.
After finishing this all, now you can run the flutter commands in the flutter console.
If you wish to run the Flutter commands in regular windows console, You have to set up
the environment variable for flutter path.
In your start search bar search as ‘eve’ and select Edit environment variables for
your account.
Click the option New and Input the flutter bin path (C:\src\flutter\bin).
Open in app Get started
Note: Note that you will have to close and reopen any existing console windows for
these changes to take effect.
‘flutter doctor’ command use to see if there any platform dependencies need to
complete the setup.
C:\src\flutter>flutter doctor
Open in app Get started
Note: This command checks your environment and displays a report of the status of
your Flutter installation. Check the output carefully for other software you might need
to install or further tasks to perform.
The following section describes how to perform these tasks and finish the setup
process. Once you have installed any missing dependencies, you can run flutter doctor
command again to verify that you have set everything correctly.
05. Android Setup Get started
Open in app
Download and install the android studio. You can download it from the link which I
mentioned belove.
Start Android Studio, and go through the ‘Android Studio Setup Wizard’. This
installs the latest Android SDK, Android SDK Platform-Tools, and Android SDK
Build-Tools, which are required by Flutter when developing for Android.
Note: If You need to run and test your Flutter app on an Android device, you’ll need an
Android device running Android 4.1 or higher.
Enable developer option and USB debugging on your device. For more details
check this link.
For windows only=> install the Google USB drive. You can get more knowledge
and can download it from the link which I mentioned belove.
Using a USB cable, plug your phone into your computer. If prompted on your
device, authorize your computer to access your device.
In the terminal, run the flutter devices command to verify that Flutter recognizes
your connected Android device.
Create and manage your virtual device, check the belove link for setup your virtual
device.
Select Browse repositories, select the Flutter plugin and click Install. Here I
installed it earlier.
Open in app Get started
Create the App- here I describe how to create a new flutter app from templates.
Open the IDE and select Start a new Flutter project.(File->New->new flutter
project>
Open in app Get started
Verify the Flutter SDK path specifies the SDK’s location (select Install SDK… if the
text field is blank).
Click Finish.
Wait for Android Studio to install the SDK and create the project.