Tips Installation and Setup
Tips Installation and Setup
6. Install flutter in IDE (android studio) and editor (vs code), can also
follow the guide from here
( https://flutter.dev/docs/get-started/editor?tab=androidstudio)
7. Start Android Studio → Select Configure →Select Plugin→ Select
Marketplace→ Search ‘Flutter’→ Then Install (Dart plugin will also need
to be install)
8. To run using Android Studio, Run new flutter project → Set Path for
flutter SDK (eg: C:\Users\ASUS\src\flutter). If success then you can
keep using Android studio or else for better interface let’s using vscode.
9. Start VS Code → Invoke View > Command Palette → Type “install”,
and select Extensions: Install Extensions OR also can just select the
icon(extension) at the side menu
10. Type “flutter” in the extensions search field, select Flutter in the list, and
click Install. This also installs the required Dart plugin
11. Validate your setup with the Flutter Doctor
12. Invoke View > Command Palette….
13. Type “doctor”, and select the Flutter: Run Flutter Doctor
14. Or Run terminal/ CMD /console (command: flutter doctor).
15. Review the output in the OUTPUT pane for any issues. Make sure to
select Flutter from the dropdown in the different Output Options.
16. If there any issues related android licenses, Go to File explore where
flutter SDK is extracted (C:\src\flutter) and select flutter console→ then
run command ‘flutter doctor --android-licenses’ → then enter ‘y’ to all
17. If there still a problem, do install java jdk8(oracle) and in env variable set
path for JAVA_HOME
18. As for device or emulator, first you need to download android SDK in
android studio. Click configure or setting → select android SDK → install
your choice (recommend: API level 30, 22, 28,)
19. If SDK already installed, you can create virtual device using AVD in
android studio
20. After finish, then you can use the emulator even when using vs code
(view→command palette→ flutter lunch emulator→ select device
21. If using physical android device, connect or device with USB, then you
need to setting up developer mode in your mobile and enable USB
debugging
22. Then if everything okay then can start your first flutter project.
15/12/2020