How to install Flutter on your local machine
- Flutter SDK latest
- Dart latest
- JAVA 8 or above
- Latest Android studio with NDK
- Xcode (on Macos for IOS)
Download the following installation bundle to get the latest release of the Flutter SDK (for other release channels, and older builds, see the SDK archive page. latest versions are given below for particular platform
In Window go to: 1. Extract the downloaded zip into the C:\Program Files\ 2. Locate the file
flutterdirectory. Start it by double-clicking.
In Linux and MACOS - Change the below version with your latest download version.
tar xf ~/Downloads/flutter_linux_v1.7.8+hotfix.4-stable.tar.xz
In the android studio, you can find an option to create a new flutter project there you can select a flutter application, click on next there you can mention your project name click on next, enter your company domain click on finish .your flutter project gets created.
You can install the plugins by following the below step:
Android studio > File > Plugins > Install flutter > Install dart(this will download your flutter and dart files)
flutter create your_project_name
Make sure you have installed Java JDK 8 or above, the latest version of the android studio, and flutter.
Open Android Studio, Click on Tools > Go to SDK manager there you click on all the checkboxes of different versions of SDKs you want your app to run on click on apply then click on finish. Run in Device or Emulator :
Before running this just make sure that you have installed all the packages inside your flutter project by following the below steps:
Open Android Studio, Click on Tools, Go to > AVD Manager > Create new Virtual device, click on next and it will display you with the options to choose the version, click on next and finish. That will create a Virtual device for you or alternatively you can use physical device connect it to the system via cable make sure to turn USB debugging mode ON on device before connecting it to the system. You can run it by selecting the device and clicking on the emulator option. Or you can also run it by using the below command called flutter run.
Open your terminal and navigate to the project folder and install plugins
$ flutter packages get
Once plugins are installed successfully you can run the app in Device with :
$ flutter run
Run flutter doctor:
$ flutter doctor
You may also face VT -X disabled error while running the emulator if your BIOS set up is incomplete (applicable for only windows user). So make sure that you will set the BIOS by following the below steps.
You can go to
System configuration >VT >Device configuration >Enable VT
If there is any issue apart from this please google it or if you do not find any solution please feel free to report us, we will look into it.