Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
x/mobile: build of example _reverse_ failed #18210
Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (
I am currently getting the same error. After some digging, I found that the gobind command cannot resolve the imports in the go files when GOOS is set to "android". This can be easily determined adding some output to the error handler function here:
Looking further, it seems that both the gobind and the gomobile command make use of the "go/importer" package, but gomobile creates a fake GOPATH so that the imports can be resolved, gobind however does not.
This is strange though, since it apparently works for others, so I'm stumped at this point. Does anyone have any ideas?
I'm getting the same issue, with
Btw #21319 is about the same issue, but claims that it was fixed with go 1.9 (which I am using).