x/mobile: Fails on FreeBSD #16989
x/mobile: Fails on FreeBSD #16989
Comments
I don't think it's a gomobile bug. Android doesn't provide
Android NDK for FreeBSD.
|
I looked into it more and you're right. However, the Linux version should work under FreeBSD's Linux compatibility layer; FreeBSD provides a full Linux userland. When I set
|
I have gomobile working on FreeBSD with the following small patch. The Linux version of NDK works under FreeBSD's Linux emulation layer.
To run on FreeBSD with this patch:
The gomobile tool will now work as normal. I've created a PR upstream for proper NDK support on FreeBSD. If that ever happens, this patch will not be necessary. |
Is this still a problem? Much has happened since this was reported. For example, gomobile doesn't download the NDK anymore. |
gomobile init
fails on FreeBSD when fetching NDK.Looks like there isn't a FreeBSD build. I can't find any instructions for manually doing what
gomobile init
is doing.Version:
Env:
The text was updated successfully, but these errors were encountered: