bash: flutter: command not found
Apparently, none of the flutter commands are working on the terminal of an android studio which I believe I am tryi
Add Path in this way in .bashrc for Linux and for Mac .bash_profile of android sdk and tools with flutter
export PATH=$PATH:/user/Android/Sdk/platform-tools:/user/Android/Sdk/build-tools/27.0.1:/user/Android/Sdk/tools:/user/Android/Sdk/tools/bin:/user/Documents/fluterdev/flutter/bin:$PATH
Then run this command
On Linux
source ~/.profile
On Mac
source ~/.bash_profileoropen -a TextEdit ~/.bash_profile
Then you can user any of flutter command like to build fluter apk
flutter build apk