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
Ubuntu 16.04 :-
I added the path correctly for Flutter, Java, Android Studio and Android SDK in .bashrc file , but when I run flutter doctor, the terminal returns
flutter: command not found
Solution :-
So,first I had to always run ->
sudo su
then ->
source /home/your_name/.bashrc
Then run flutter doctor, it works fine.
So everytime, If I want to run flutter doctor, I have to run these above 2 commands.
Hope it helps :)