Flutter环境配置(Mac)

绑定flutter命令行到zshell(Mac)

I am using zsh (Z shell), edit (vim) .zshrc in the / .

export PATH="$PATH:[PATH_TO_FLUTTER_GIT_DIRECTORY]/flutter/bin"

checking installation:

which flutter; which dart

Simulator

open -a Simulator

App Setup

flutter create my_app
cd my_app
flutter run

WorkSpace on XCode

open ios/Runner.xcworkspace

Fixing Error

Error: resource fork, Finder information, or similar detritus not allowed Command CodeSign failed with a nonzero exit code

Fix:

xattr -cr .

Android SDK Position

/Users/jimschenchen/Library/Android/sdk
jimschenchen

即使苍天陨落,契约必须完成

Share

Leave a Reply