Flutter 运行颤振发布获取时终端出错:响应:

Flutter 运行颤振发布获取时终端出错:响应:,flutter,flutter-dependencies,Flutter,Flutter Dependencies,我是个新手所以我试过这个 我的密码是 我把它换成了 但我仍然得到这个错误 这不是pubspec的问题。您只是从错误的目录执行命令 将cd放入您的Flatter项目文件所在的目录中。该文件夹将包含其他文件夹,如,build,android,ios,lib以及pubspec.yaml文件。从那里运行flatter pub get。转到项目的根目录,其中存在lib和其他目录。然后运行命令。最好是使用代码编辑器的终端,因为路径将与其中项目的根相同 dependencies: intl: ^0.15.

我是个新手所以我试过这个

我的密码是 我把它换成了 但我仍然得到这个错误
这不是pubspec的问题。您只是从错误的目录执行命令


将cd放入您的Flatter项目文件所在的目录中。该文件夹将包含其他文件夹,如,build,android,ios,lib以及pubspec.yaml文件。从那里运行
flatter pub get

转到项目的根目录,其中存在lib和其他目录。然后运行命令。最好是使用代码编辑器的终端,因为路径将与其中项目的根相同

dependencies:
  intl: ^0.15.0
dependency_overrides:
   intl: ^0.16.0
        $ flutter pub get
        Error: No pubspec.yaml file found.
        This command should be run from the root of your Flutter project.
        Do not run this command from the root of your git clone of Flutter.