-bash: fultter: command not found
flutter build apk bash: flutter: command not found
在studio中的控制台出现上面错误(如图所示)
解决办法:
安装flutter时,安装时可以执行flutter doctor -v ,当关闭黑窗口再次打开输入时,就出现 -bash: fultter: command not found
网上答案:
如果你也出现这个错误可能是这个原因,查看一下你的path是否设置正确,
mac终端打开.bash_profile命令:open ~/.bash_profile
或者找到这个文件用text、Xcode等编辑器打开,并修改其中的文字:
添加
export PATH_TO_FLUTTER_GIT_DIRECTORY=/Users/aa/flutter //flutter的安装目录 export PATH=${PATH}:${PATH_TO_FLUTTER_GIT_DIRECTORY}/bin
让.bash_profile生效的命令是:source .bash_profile
转载于:https://www.cnblogs.com/Oldz/p/11096718.html
-bash: fultter: command not found相关推荐
- bash: vue: command not found
安装vue的时候提示:bash: vue: command not found 我的原因node.js 环境变量配置有问题,最后添加了环境变量就好了..........
- bpython ipython_安装ipython后命令找不到ipython bpython -bash: *python: command not found
原博文 2018-10-30 21:53 − ipython bpython -bash: *python: command not found 问题: 当pip安装ipython, bpython后 ...
- -bash: sz: command not found
[root@izr86o15kikb3az home]# sz /tmp/shared -bash: sz: command not found [root@izr86o15kikb3az home] ...
- -bash: git: command not found
-bash: git: command not found 执行命令: yum install -y git
- -Bash: Unzip: Command Not Found解决方法 安装unzip
利用unzip命令解压缩的时候,出现-bash: unzip: command not found的错误. unzip--命令没有找到,其原因肯定是没有安装unzip.利用一句命令就可以解决了. 命令 ...
- Debian/Ubuntu 报错解决:-bash: ifconfig: command not found
晚上在虚拟机里安装了最新的 Debian 9,然后想查看ip地址的时候报错了: zhang@debian:~$ ifconfig -bash: ifconfig: command not found ...
- 修复“-bash: locate: command not found”
部分Linux版本使用locate命令出现一下错误: 1 -bash: locate: command not found (一)其原因是没有安装mlocate这个包;按顺序执行如下命令: 1 yum ...
- bash: ifconfig: command not found
法一:[root@localhost sbin]$ /sbin/ifconfig 就可以出现使用了 方法二:[root@localhost sbin]$ export PATH=$PATH:/sbi ...
- 关于使用mail命令产生:-bash: mail: command not found的解决方法
近日,配置zabbix邮件告警的时候,安装好了sendmail后,运行命令: [root@slave ~] # mail -s "test" 111111@qq.com < ...
最新文章
- 曙光i620c20用户手册_曙光天阔I620-G20服务器技术白皮书.pdf
- Unhandled exception: org.springframework.beans.factory.BeanDefinitionStoreException
- python学多久能写东西的软件有哪些_怎么自学python,大概要多久?
- slider获取点击 unity_Unity基础 | 70分钟带你轻松入门
- 【openjudge】字符串排序
- Can‘t resolve ‘core-js NPM 引入 core js 失败 解决
- Vue2.0源码解析 - 知其然知其所以然之keep-alive原理分析(二)
- android 家庭监控,最好的三款家庭安防智能监控APP
- 发现一个有意思的奇葩极客网站
- Python 自己简单地造一个轮子.whl文件
- sizeof结构体指针
- 数据挖掘:探索性数据分析(EDA)
- net-java-php-python-校园二手图书销售网站计算机毕业设计程序
- 团购网站的现状和未来
- 消防火灾联动报警系统中环网冗余型CAN转光纤的CAN光端机应用
- 什么是挂载,Linux挂载如何实现详解
- java物流管理系统_java web物流管理系统
- 从 MIT 协议谈契约精神
- 证明正方形和圆有交点
- iMindMap字体如何进行修改