--- tags: flutter, disqus: hackmd --- # 使用vscode建立flutter專案 [flutter - Visual Studio Code](https://flutter.dev/docs/development/tools/vs-code) 首先打開你vscode的命令選擇區,`(Ctrl+Shift+P (Cmd+Shift+P on macOS))`  接著輸入`flutter`後可以看到很多個選擇,選擇第一個`new application project`,代表我們要開一個新專案 如果你在選擇這邊出現`new application project`後出現SDK Path的錯誤,可以看[sdk path錯誤](https://hackmd.io/oF_WQMVESp-flUsaG0wHJg?view#sdk-path%E9%8C%AF%E8%AA%A4)  然後選擇你的專案要放在哪裡  最後再輸入你的專案名稱  大功告成  --- ## sdk path錯誤 如果你右下角那邊有提示訊息出現說找不到sdk path的錯誤。 你可以確認是否有下載flutter,如果沒有就去下載 如果已經載了,那可以點located的按鈕,重新選擇sdk的路徑 那路徑只要選到你下載的flutter包就可以,不用選到`flutter/bin`去
×
Sign in
Email
Password
Forgot password
or
Sign in via Google
Sign in via Facebook
Sign in via X(Twitter)
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
Continue with a different method
New to HackMD?
Sign up
By signing in, you agree to our
terms of service
.