简体   繁体   English

我已经安装了 flutter 和 android studio 但仍然收到错误 zsh: command not found: flutter

[英]I have installed the flutter and android studio but still getting the error zsh: command not found: flutter

I have installed the flutter and android studio but still getting the error我已经安装了 flutter 和 android studio 但仍然出现错误

tushar@racs-MacBook-Pro ~ % flutter doctor zsh: command not found: flutter tushar@racs-MacBook-Pro ~ % flutter 医生 zsh:找不到命令:flutter

i was trying to update the envirnmental variable on my macbook by using the "nano ~/.zshrc" command but after adding the same I am not able to run any flutter command on terminal我试图通过使用“nano ~/.zshrc”命令来更新我的 macbook 上的环境变量,但是在添加了相同的命令之后,我无法在终端上运行任何 flutter 命令

please help.请帮忙。

First, open the terminal on your mac.

Next, use the command

 cat .bash_profile
and copy the content.

Then type this command into the terminal:

nano $ HOME / .zshrc
and paste the content just copied above into. Save then type

source $ HOME / .zshrc
to refresh this file. Next type

echo $ PATH
to see if the content has been updated. If successful type

flutter --version

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 “zsh: command not found: fvm” 当我在 Android Studio 中打开我的 Flutter 项目时 - "zsh: command not found: fvm" When I open my Flutter project in Android Studio zsh:找不到命令:flutter? - zsh: command not found: flutter? 颤振医生'zsh:找不到命令' - flutter doctor 'zsh: command not found' 我刚刚安装了 Flutter、Android Studio 和 VS CODE,但我只是无法获得 flutter 医生来消除以下错误- - I have just Installed Flutter, Android Studio, and VS CODE, but I just cant get flutter doctor to eliminate the following error- zsh、flutter 和 android studio 的问题 - Problems with zsh, flutter and android studio 即使我已经安装了 Flutter 插件 mot 安装仍然出现 - Flutter plugin mot installed still occurs even if I have installed it 我收到此错误“缺少 cmdline 工具组件”我已经安装了 flutter 和 android studio,如何解决它们,或者必须做什么? - I am getting this errors “cmdline tools component is missing” I have installed flutter and android studio, how to solve them, or what has to be done? Flutter 插件未安装; 这增加了 Flutter 特定功能。 #Android Studio 未在 /path/to/android/studio 找到 - Flutter plugin not installed; this adds Flutter specific functionality. #Android Studio not found at /path/to/android/studio 当我在 android 工作室中运行 flutter 应用程序时出现错误 - getting error when i run flutter app in android studio 我已经在 E 驱动器中安装了 flutter,但在 C 驱动器中安装了 android studio。 它会起作用吗? - I have installed flutter in E drive but android studio in C drive. will it work?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM