Reputation: 523
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.
Upvotes: 2
Views: 1855
Reputation: 523
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
Upvotes: 1
Reputation: 2373
Have you added the path to gomobile location to your PATH variable?
Check if it is included with batch command
set PATH
Upvotes: 0