當把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