Notes for dealing with problems while installing flutter
Flutter.io Android License Status Unknown
You need to use JDK8 for flutter, so if you have a JDK version upon 8, you need to install JDK8.
Flutter App stuck at “Running Gradle task ‘assembleDebug’… ”
- remove
$HOME$/.gradle
- clean gradle
./gradlew clean
- Build gradle
./gradlew build
Installing flutter on MAC using asdf package manager
brew install asdf --HEAD
brew install android-sdk
brew install android-studio
brew install haxm
brew cask install adoptopenjdk8
brew tap dart-lang/dart
brew install dart
asdf plugin add flutter
asdf install flutter latest
# add to ~/.zshrc file
. $(brew --prefix asdf)/asdf.sh