【发布时间】:2020-09-06 03:16:24
【问题描述】:
我正在尝试编译https://github.com/dart-lang/protobuf/tree/master/protoc_plugin
根据自述文件,我应该运行 pub install。我有应该包含 Dart SDK 的颤振 SDK。
我试过了:
flutter pub install
Could not find a subcommand named "install" for "flutter pub".
和
dart pub install
Error: Error when reading 'pub': No such file or directory
和
pub install
/bin/sh: 1: pub: not found
如何使用flutter SDK编译它?
【问题讨论】: