Skip to content

Flutter plugin for the asdf version manager

License

Notifications You must be signed in to change notification settings

josereia/asdf-flutter

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

asdf-flutter Build Status

Flutter plugin for the asdf version manager. This includes both flutter and dart.

Install

asdf plugin-add flutter

Configure

If you have problems with accessing to google, you can set the FLUTTER_STORAGE_BASE_URL environment variable to change it but structure must be same with Google. Default value is https://storage.googleapis.com.

Troubleshooting

VSCode

image

To fix the "Could not find a Flutter SDK" error, you can set the FLUTTER_ROOT environment variable in your .bashrc or .zshrc file:

export FLUTTER_ROOT="$(asdf where flutter)"

Bad CPU type in executable

Because this plugin uses jq you have to enable Rosetta to be able to execute non arm optimized software.

Apple will prompt you to install Rosetta if you open a GUI application but not if you're using the terminal. Thus you have to enable Rosetta manually:

softwareupdate --install-rosetta

About

Flutter plugin for the asdf version manager

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%