golang / go

The Go programming language
https://go.dev
BSD 3-Clause "New" or "Revised" License
124.06k stars 17.68k forks source link

x/mobile/misc/androidstudio: GOMOBILE setting is not required #11998

Closed rakyll closed 9 years ago

rakyll commented 9 years ago

The gradle plugin should be able to find where the gomobile binary is with the GOPATH setting, the binary is under GOPATH/bin. We should make GOMOBILE an optional setting and use the binary under GOPATH/bin if GOMOBILE is not set.

cc/ @hyangah

hyangah commented 9 years ago

That is already optional. Skipping GOMOBILE should work. Let me know if it's not working.

2015-08-03 13:43 GMT-04:00 Burcu Dogan notifications@github.com:

The gradle plugin should be able to find where the gomobile binary is with the GOPATH setting, the binary is under GOPATH/bin. We should make GOMOBILE an optional setting and use the binary under GOPATH/bin if GOMOBILE is not set.

cc/ @hyangah https://github.com/hyangah

— Reply to this email directly or view it on GitHub https://github.com/golang/go/issues/11998.

__

rakyll commented 9 years ago

I am modifying the reference bind example to make it clear.