Problems encountered during Flutter installation and configuration
Two errors pop up when executing flutter doctor
- ✗ Android license status unknown
The final solution is actually very simple, but the process is very tortuous. Many tutorials say to execute:
flutter doctor --android-licenses
This command, but I have been prompted to find this command or no licenses this parameter. Later saw this link Flutter
There is a picture description when installing the above windows:
I found that I may have installed a few things in Android Studio, and several options in SDK Tools are not checked for installation;
After the installation is successful, execute the above command:
flutter doctor --android-licenses
It can be executed normally, and then all the way to y. The post-mortem analysis is mainly less installation
Android SDK Commond-line Tools
The resulting flutter command cannot be recognized.
- ! NO_PROXY is not set
Solution: Open the windows command line tool and execute:
set No_PORXY="localhost,127.0.0.1"
Then execute
flutter doctor
result
No issues found!
At this point, the two problems are solved, and Flutter is successfully installed and you are done! ! !