-
Notifications
You must be signed in to change notification settings - Fork 18k
x/mobile: Fails on FreeBSD #16989
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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. |
As previously discussed, gomobile does not download NDK anymore and the support for FreeBSD depends on the Android SDK on the platform itself. Close. |
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: