Methods1: Find out the Location of Flutter SDK Our SDK location at: C:\Users\username\flutter. Now you have to edit the Environment path variable and add new path with “bin/”. Like this: C:\Users\username\flutter\bin
Go to My Computer Properties > Advance System Setting > Environment Variables Go to this path and edit the path variable. Now add a new path of your Flutter SDK with “bin\” folder. Like this: C:\Users\rony\flutter\bin.
Now save the changes and restart your terminal. Then open the command box and write below :
3条答案
按热度按时间4nkexdtk1#
根据flutter安装,它安装在
C:\src\flutter\bin
中,如果您在此位置C:\src\flutter\bin
中发现flutter,则转到环境变量,并在此之后将路径设置为C:\src\flutter\bin
关闭所有您的终端重新启动您的PC以确保然后运行flutter doctor在终端中,这可能会帮助您开始。4ioopgfo2#
Methods1: Find out the Location of Flutter SDK
Our SDK location at: C:\Users\username\flutter. Now you have to edit the Environment path variable and add new path with “bin/”. Like this: C:\Users\username\flutter\bin
Go to this path and edit the path variable. Now add a new path of your Flutter SDK with “bin\” folder. Like this: C:\Users\rony\flutter\bin.
Now save the changes and restart your terminal. Then open the command box and write below :
This is how you can solve the Flutter is not recognized as an internal and external command.
Learn More from this article: Flutter is not recognized as an internal and external command
pcww981p3#
您设置了错误的flutter路径,路径应为“D:\flutter\bin”