well, that wasn't so much work, created a code review in gerrit for the 
gobind GOROOT issue
https://go-review.googlesource.com/c/46671/

On Saturday, June 24, 2017 at 7:05:50 AM UTC-7, Dan Ballard wrote:
>
> I am working on creating an android app entirely in go using the Java og 
> bindings, as outlined in
> https://github.com/golang/mobile/tree/master/example/reverse
>
> I created a go project under my goroot and an android project in my 
> ~/AndroidStuioProjects
> I seem to have the configs right but I seem to have run into a problem
>
> :app:gobindDebug
> 2017/06/23 18:10:03 failed to go install the generated Java wrappers: exit 
> status 2: go: cannot find GOROOT directory: /usr/local/go
>
>  FAILED
>
> FAILURE: Build failed with an exception.
>
> * What went wrong:
> Execution failed for task ':app:gobindDebug'.
> > Process 'command '/home/user/src/go/bin/gobind'' finished with non-zero 
> exit value 1
>
>
>
> Which as far as I can tell if caused by
> https://github.com/golang/go/issues/18209 [x/mobile: gobind ignores 
> $GOROOT]
>
>
> The only options I see are 
> 1) put in a very hacky symlink
> 2) actually look at solving the bug
>
> Anyone else see an option I'm missing?
>

-- 
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.
For more options, visit https://groups.google.com/d/optout.

Reply via email to