On Monday, 19 August 2019 01:57:24 UTC+5:30, starzar wrote:
>
> 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
>


*EDIT 1 *

Upon further checking into my Gofiles ,in the *GOPATH /src* directory there 
were some Go packages installed which included the "mobile" package.
These packages were installed through  VisualStudio Code .
I ran the *gomobile* tools command in this "mobile folder"  but still the 
command is not recognised.
Please let me know how to resolve this issue.

PS D:\Script\Golang\src\golang.org\x\mobile> go version
go version go1.12.9 windows/amd64
PS D:\Script\Golang\src\golang.org\x\mobile> gomobile int
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 int
+ ~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (gomobile:String) [], 
CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException



-- 
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/7b1e987c-87bf-4242-baf9-ab9f336123bc%40googlegroups.com.

Reply via email to