søndag den 18. august 2019 kl. 21.27.24 UTC+1 skrev starzar:
>
> On installing Golang mobile tools 
> <https://godoc.org/golang.org/x/mobile/cmd/gomobile> on my 
> Windows10-64bit machine,the gomobile tools are not recognised . The 
> installation path is the *GOROOT PATH C:\Go*. 
>
> GolangVersion :- *go1.11.5 windows/amd64* 
>
> Please let me know how to get Golang mobile tools to work
>
>
> PS C:\Go> go get golang.org/x/mobile/cmd/gomobile
> PS C:\Go> gomobile init
> gomobile : The term 'gomobile' is not recognized as the name of a cmdlet, 
> function, script file, or operable program. Check the spelling of the name
> , or if a path was included, verify that the path is correct and try again
> . At line:1 char:2 + gomobile init + ~~~~~~~~ + CategoryInfo : 
> ObjectNotFound: (gomobile:String) [], CommandNotFoundException + 
> FullyQualifiedErrorId : CommandNotFoundException
> PS C:\Go> gomobile version
> gomobile : The term 'gomobile' is not recognized as the name of a cmdlet, 
> function, script file, or operable program. Check the spelling of the name
> , or if a path was included, verify that the path is correct and try again
> . At line:1 char:1 + gomobile version + ~~~~~~~~ + CategoryInfo : 
> ObjectNotFound: (gomobile:String) [], CommandNotFoundException + 
> FullyQualifiedErrorId : CommandNotFoundException
> PS C:\Go> go version 
> go version go1.11.5 windows/amd64
>
>
>

When you install gomobile, its tools go in the %USERPROFILE%\go\bin 
directory. You probably need to add that path to your PATH environment 
variable.

 - elias

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/bbb9dcf1-e8e4-48e3-88c2-2de7444835bb%40googlegroups.com.

Reply via email to