How can I install go mobile and have it work on windows?

时间:2017-08-05 12:02:52

标签: windows go gomobile

I am having issues installing gomobile on windows with the command : go get golang.org/x/mobile/cmd/gomobile

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.

2 个答案:

答案 0 :(得分:1)

所以我想到了go可执行文件与GOPATH不同的PATH。为了找到我的GOPATH,我使用了命令

go env GOPATH

答案 1 :(得分:0)

您是否已将路径添加到PATH变量的gomobile位置?

检查它是否包含在批处理命令

set PATH
相关问题