Flutter Day : 1  Installation
Flutter training Day 2 practice

Flutter Day : 1 Installation


Flutter :

  • Flutter is an app SDK for building high-performance, high-fidelity apps for iOS, Android, web (beta), and desktop (technical preview) from a single codebase. The goal is to enable developers to deliver high-performance apps that feel natural on different platforms.



Installation of flutter and developing a test_application :


For this you have to follow some easy steps:

  • Download flutter for windows from the official flutter link and extract the zip


No alt text provided for this image


  • Add the folder path to the environmental variables
No alt text provided for this image
  • After setting environment check flutter is working for this ,

open cmd and type flutter

No alt text provided for this image
  • Check the flutter version for checking the flutter is working properly
No alt text provided for this image

Now , for checking the requirements of the flutter run command

$ flutter doctor
No alt text provided for this image


For first Error or requirement contains Android toolchain for this you have to install android studio and Android sdk

For this download android studio from this link and simply click next

After install Android studio setup wizard starts now follow this steps

No alt text provided for this image
No alt text provided for this image
No alt text provided for this image
No alt text provided for this image
No alt text provided for this image
No alt text provided for this image
No alt text provided for this image

After configuring this android studio starts

No alt text provided for this image

Now , go to configure and then plugins

No alt text provided for this image

Search the flutter plugin

No alt text provided for this image

Install this plugin

No alt text provided for this image

Restart IDE

No alt text provided for this image

Install SDK tools and drivers

No alt text provided for this image

Downloading selected tools and drivers

No alt text provided for this image

After this start android ADV Manager

No alt text provided for this image

Create the virtual Device

No alt text provided for this image

Choose according to your requirements

No alt text provided for this image

Download any Android version image

No alt text provided for this image

Accept the license Agreement

No alt text provided for this image

After Downloading click next

No alt text provided for this image

Select the downloaded image

No alt text provided for this image

Choose user name for the Android Emulator


No alt text provided for this image

After starting the emulator kit looks like this

No alt text provided for this image


After setting this all setup again run command flutter doctor for checking the requirements if no error comes then you can continue to create your application

No alt text provided for this image

For testing the environment create test_application , for this run this command

$ flutter create test_app

No alt text provided for this image

After create teat_app run commands

$ cd  test_app
$ flutter run
No alt text provided for this image

Accept the firewall permission to access the emulator through the api

No alt text provided for this image

After sometime the app automatically runs to the emulator

No alt text provided for this image

Instead of running this command you can use the IDE also for this i have install visual studio code , you can use any other IDE also

For installing this ide follow this steps:

No alt text provided for this image
No alt text provided for this image
No alt text provided for this image
No alt text provided for this image
No alt text provided for this image
No alt text provided for this image
No alt text provided for this image
No alt text provided for this image

Go to Plugins manager and install flutter plugin for vs code

No alt text provided for this image
No alt text provided for this image

After installing the plugin open the app folder

No alt text provided for this image
No alt text provided for this image

Goto run and choose the Start Debugging option

No alt text provided for this image

Select your Emulator for running the application

No alt text provided for this image

Accept the firewall permission

No alt text provided for this image

After Accepting the policies your application run in emulator after sometime

No alt text provided for this image

You can run your android code to this ide

Thankyou !



要查看或添加评论,请登录

Nikhil Suryawanshi的更多文章

社区洞察

其他会员也浏览了