美文网首页
google.protobuf.Timestamp is not

google.protobuf.Timestamp is not

作者: 冰_Angus | 来源:发表于2019-07-09 10:52 被阅读0次

错误 "google.protobuf.Timestamp" is not defined.

image.png

本质上就是没找到本机protoc目录下protoc\include\google\protobuf\timestamp.proto文件
简单粗暴的将protoc\include\googlegoogle文件夹拷贝过来就好了

image.png

当然也可以将google文件夹加到环境变量里 太麻烦不如复制来的爽快

image.png

相关文章

网友评论

      本文标题:google.protobuf.Timestamp is not

      本文链接:https://www.haomeiwen.com/subject/hpgtkctx.html