简体   繁体   中英

What is the solution The program does not support Flutter

flutter: The term 'flutter' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:1 char:1

  • flutter
  •  + CategoryInfo: ObjectNotFound: (flutter:String) [], CommandNotFoundException + FullyQualifiedErrorId: CommandNotFoundException

Add flutter/bin folder to the environment variables:

  1. On W10, type Edit System Environment variables
  2. Click "Environment Variables..."
  3. Select "Path" and then "Edit"
  4. Click New and add the flutter/bin folder

It should look something like this:

Environment Variables

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM