# Flutter and Android Studio and VScode Install on Windows 10 簡易安裝Flutter開發環境
## System requirements
* Operating Systems: Windows 7 SP1 or later (64-bit), x86-64 based.
* Disk Space: 1.64 GB (does not include disk space for IDE/tools).
* Tools:
* Flutter depends on these tools being available in your environment.
* Windows **[PowerShell 5.0](https://docs.microsoft.com/en-us/powershell/scripting/windows-powershell/install/installing-windows-powershell?view=powershell-7.1)** or newer (this is pre-installed with Windows 10)
* **[Git for Windows 2.x](https://git-scm.com/download/win)**, with the **Use Git from the Windows Command Prompt option.**
If Git for Windows is already installed, make sure you can run git commands from the command prompt or PowerShell.
-----------
### 1. Check tools install and version
#### Search `powershell`

#### **Check powershell version**
##### `Get-Host | Select-Object Version`

#### If your version lower than 5.0 Download this [PowerShell](https://github.com/PowerShell/PowerShell)
#### Roll the page download this .msi and install

#### Successful Installed

#### Git Install
[Git](https://git-scm.com/download/win)

#### open exe












#### Check successful installed PowerShell 7
##### `git --version`

-----------
### 2. Install Flutter SDK
#### Download Flutter SDK [flutter_windows_2.2.3-stable](https://storage.googleapis.com/flutter_infra_release/releases/stable/windows/flutter_windows_2.2.3-stable.zip)
#### Extract the zip file and cut flutter folder to C:/dev/




#### add `C:\dev\flutter\bin`

#### Check Flutter SDK Successful Installed

##### `flutter --version`

#### You can input `flutter upgrade` Check newest Version

#### Input `flutter --version` Check Version has Installed newest

-----------
### 3.Flutter doctor
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
##### `flutter doctor`

#### See can see detail`flutter doctor -v`
##### [Chrome](https://www.google.com/intl/zh-TW/chrome/)
##### [Vscode](https://code.visualstudio.com/)
---
### 4.Java JDK
#### [Java](https://www.oracle.com/java/technologies/javase-jdk16-downloads.html)






##### `%JAVA_HOME%\bin`

---
### 5.Intsall Android Studio SDK
#### [Android Studio](https://developer.android.com/studio)









#### Ignore error We solve this problem on later
##### `flutter doctor`
##### 

##### `flutter doctor --android-licenses`

#### Error handler
#### Install **Andorid SDK Command-line Tools(lastest)**



##### `flutter doctor`

##### `y`

##### `y`

##### `y`

##### `y`

##### `y`

##### `y`

##### `y`

#### Successd

##### `flutter doctor`

#### See all detail
##### `flutter doctor -v`

#### Flutter can't find the path from Android studio
#### We should set path to command.
##### `flutter config --android-studio-dir="C:\Program Files\Android\Android Studio"`

#### restart cmd and input `flutter doctor -v`
#### Successful Install

---
### 5.Intsall Android Studio emulator
#### Handler before error by last step

#### Check virtualization: enable

#### If your virtualization disable you can go to bios to open Virtualization Technology.
#### If your cpu does't support. This problem isn't to solved.
#### You have virtualization enable.Then you sholud close Hyper-v on Windows function

#### You should cancel this function and restart your computer

#### Open Cmd use right click **administrator**
#### `Disable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V-All`
#### `bcdedit /set hypervisorlaunchtype off`

#### Restart your computer.
#### Open cmd check successed

#### And they we can try to install Intel@HAXM package
#### We first shoud delete **Intel x86 Emulator Accelerator(HAXM installer)**

#### Check the function has canceled

#### Download Haxm from Intel Github
#### [Intel Haxm](https://github.com/intel/haxm/releases)

#### Extract the zip file and Open **haxm-7.7.0-setup**




#### Successed Install HAXM
---
### 6.Install Flutter plus on Android Studio






### 7.Creat Flutter Project and Emulator


#### Project Should be use lowcase












#### If your emulator can't start. You can try to reinstall **Android SDK Platform-Tools**

---
#### And you can use browser open flutter emulator



---
### 8.Use Vscode IDE develop Flutter
#### Install Flutter package

#### Pressd F1 `flutter doctor` check nothing problem


#### Pressd F1 create a new project`Flutter: New Project`

#### input your project name

#### Successd Create Project

#### You can chose your emulator


