First: install flutter
Second: install the protoc-gen-dart plugin
dart pub global activate protoc_plugin
Third: Add symlink to dart cache dir in bin
dart pub global activate protoc_plugin
The protoc-gen-dart must be in the following path:
$HOME/.pub-cache/bin/protoc-gen-dart
You need to add the compiler to path
export PATH="${PATH}:${HOME}/.pub-cache/bin"
No hay comentarios:
Publicar un comentario