0% found this document useful (0 votes)
26 views6 pages

Tips Installation and Setup

Uploaded by

rdjet2008
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
26 views6 pages

Tips Installation and Setup

Uploaded by

rdjet2008
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 6

Tips Installation and Setup

1. Download Android Studio


2. Download VS Code and install VS Code
3. Download Flutter SDK
4. In File Explorer, Go to Local Disk (C), create new folder ‘src’ then Extract
the Flutter SDK, then open the folder, select bin folder and Copy the
address.

5. Setup path in system variable. Go to Start Menu, Search ‘environment


variable’, Open Edit the System Environment Variable → Select
Environment variable → In User Variable, select New then Add ‘PATH’
(variable), Value (C:\src\flutter\bin)

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.

Contact Me - Nurhafifi Azmi: 0194184052

15/12/2020

You might also like