2017-08-05 12:02
浏览 393

如何安装go mobile并使其在Windows上运行?

I am having issues installing gomobile on windows with the command : go get

It doesn't give me any error but it doesn't seem to be doing anything. When trying to execute gomobile afterwards I get the error:

'gomobile' is not recognized as an internal or external command, operable program or batch file.

图片转代码服务由CSDN问答提供 功能建议

我在使用以下命令在Windows上安装gomobile时遇到问题: go get / mobile / cmd / gomobile

它不会给我任何错误,但似乎没有任何作用。 之后尝试执行gomobile时出现错误:

'gomobile'不被识别为内部或外部命令, operable程序或批处理文件。 < / p>

  • 写回答
  • 关注问题
  • 收藏
  • 邀请回答

2条回答 默认 最新

  • dongranding3909 2017-08-05 20:59

    So I figured the PATH where the go executable is differs from GOPATH. To find what my GOPATH was, I used the command

    go env GOPATH

    打赏 评论
  • dongzhi6087 2017-08-05 13:26

    Have you added the path to gomobile location to your PATH variable?

    Check if it is included with batch command

    set PATH
    打赏 评论

相关推荐 更多相似问题