当把 Flutter 环境变量配置之后, 打开 cmd 输入: flutter
出现如下错误:
- 'MySQL' is not recognized as an internal or external command,
- operable program or batch file.
- 'MySQL' is not recognized as an internal or external command,
- operable program or batch file.
- 'where' is not recognized as an internal or external command,
- operable program or batch file.
- Error: Unable to find Git in your PATH.
与 MySQL 有啥关系???
解决方法:
从系统环境变量中移除环境变量中的以下两个:
- C:\Program Files (x86)\MySQL\MySQL Fabric 1.5 & MySQL Utilities 1.5\;
- C:\Program Files (x86)\MySQL\MySQL Fabric 1.5 & MySQL Utilities 1.5\Doctrine extensions for PHP\;
参考地址: https://github.com/flutter/flutter/issues/17907
来源: http://www.bubuko.com/infodetail-2994442.html